GetRowContainingElement Method

DataGridRow.GetRowContainingElement Method

Returns the DataGridRow that contains the specified element.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)

public static DataGridRow GetRowContainingElement(
	FrameworkElement element
)

Parameters

element
Type: System.Windows.FrameworkElement
An element contained in a row to be found.

Return Value

Type: System.Windows.Controls.DataGridRow
The DataGridRow that contains the specified element.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2016 Microsoft