DataGridRow.

GetRowContainingElement(Control) Method

Summary

Returns the row which contains the given element
Namespace
Avalonia.Controls
Containing Type
DataGridRow

Syntax

public static DataGridRow GetRowContainingElement(Control element)

Parameters

Name Type Description
element Control element contained in a row

Return Value

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