Redigera

Dela via


DataGridRow.GetRowContainingElement(FrameworkElement) Method

Definition

Returns the DataGridRow that contains the specified element.

public:
 static System::Windows::Controls::DataGridRow ^ GetRowContainingElement(System::Windows::FrameworkElement ^ element);
public static System.Windows.Controls.DataGridRow GetRowContainingElement (System.Windows.FrameworkElement element);
static member GetRowContainingElement : System.Windows.FrameworkElement -> System.Windows.Controls.DataGridRow
Public Shared Function GetRowContainingElement (element As FrameworkElement) As DataGridRow

Parameters

element
FrameworkElement

An element contained in a row to be found.

Returns

The DataGridRow that contains the specified element.

Applies to

See also