GetRowContainingElement Method
Returns the row which contains the given element
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll)
- C#
- VB
- F#
public static DataGridRow GetRowContainingElement(
Control element
)
Public Shared Function GetRowContainingElement (
element As Control
) As DataGridRow
static member GetRowContainingElement :
element : Control -> DataGridRow
Parameters
- Control
- element contained in a row
Return Value
DataGridRow
Row that contains the element, or null if not found