Skip to main content

GetRowContainingElement Method

Returns the row which contains the given element

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll)

public static DataGridRow GetRowContainingElement(
Control element
)

Parameters

  Control
element contained in a row

Return Value

DataGridRow
Row that contains the element, or null if not found

See Also

Reference

DataGridRow Class
Avalonia.Controls Namespace