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)

Gets the DataGridRow at the specified index.

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:

The DataGridRow at the specified index.

GetRow(DataGrid, object)

Gets the DataGridRow for the specified item.

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

The DataGrid.

item object

The item.

Returns

DataGridRow:

The DataGridRow for the specified item.

Inherited Members