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 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.