Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetRowContainingElement Method

DataGridRow.GetRowContainingElement Method

Returns the DataGridRow that contains the specified element.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.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.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft