DataGridRow.GetRowContainingElement(FrameworkElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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