Grid.GetRow(FrameworkElement) Grid.GetRow(FrameworkElement) Grid.GetRow(FrameworkElement) Grid.GetRow(FrameworkElement) Method

Definition

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

public : static int GetRow(FrameworkElement element)
static int32_t GetRow(FrameworkElement element) const;
public static int GetRow(FrameworkElement element)
Public Shared Function GetRow(element As FrameworkElement) As int

Parameters

element
FrameworkElement FrameworkElement

The element from which to read the property value.

Returns

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

See also