Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Grid.GetRow(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.

Gets the value of the Grid.Row XAML attached property from the specified FrameworkElement.

public:
 static int GetRow(FrameworkElement ^ element);
 static int GetRow(FrameworkElement const& element);
public static int GetRow(FrameworkElement element);
function getRow(element)
Public Shared Function GetRow (element As FrameworkElement) As Integer

Parameters

element
FrameworkElement

The element from which to read the property value.

Returns

Int32

int

The value of the Grid.Row XAML attached property on the target element.

Remarks

This method is a utility method for the property system, and isn't used in most app scenarios. In most cases you set the Grid.Row XAML attached property in XAML and won't need this method. For more info, see the Grid.Row attached property.

Applies to

See also


Feedback

Was this page helpful?