In This Article

DataGridExtensions Class

Represents a set of helper extension methods for the DataGrid.

public static class DataGridExtensions
Inheritance:
object object

Methods

GetRow(DataGrid, int)

Returns the DataGridRow at the specified index, or null if the row is not available.

public static DataGridRow? GetRow(this DataGrid dataGrid, int index)
Parameter Type Description
dataGrid DataGrid

The DataGrid.

index int

The index of the DataGridRow.

Returns

DataGridRow

GetRow(DataGrid, object)

Returns the DataGridRow for the specified item, or null if the row is not available.

public static DataGridRow? GetRow(this DataGrid dataGrid, object item)
Parameter Type Description
dataGrid DataGrid

The DataGrid.

item object

The item.

Returns

DataGridRow

Inherited Members