Edit

Share via


DataGridRow.GetRowContainingElement(FrameworkElement) Method

Definition

Returns the row which contains the given element

public static Microsoft.Toolkit.Uwp.UI.Controls.DataGridRow GetRowContainingElement (Windows.UI.Xaml.FrameworkElement element);
static member GetRowContainingElement : Windows.UI.Xaml.FrameworkElement -> Microsoft.Toolkit.Uwp.UI.Controls.DataGridRow
Public Shared Function GetRowContainingElement (element As FrameworkElement) As DataGridRow

Parameters

element
Windows.UI.Xaml.FrameworkElement

element contained in a row

Returns

Row that contains the element, or null if not found

Applies to