DataGridExtensions Class
Represents a set of helper extension methods for the DataGrid
.
public static class DataGridExtensions
- Inheritance:
- System.Object Object
Methods
GetRow(DataGrid, Int32)
Gets the DataGridRow
at the specified index.
public static DataGridRow GetRow(this DataGrid dataGrid, int index)
Parameter | Type | Description |
---|---|---|
dataGrid | System.Windows.Controls.DataGrid | The |
index | System.Int32 | The index of the |
Returns
- System.Windows.Controls.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 | System.Windows.Controls.DataGrid | The |
item | System.Object | The item. |
Returns
- System.Windows.Controls.DataGridRow:
The
DataGridRow
for the specified item.
Inherited Members
- System.Object.ToString()
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()