Grid.GetRow Method

Definition

Overloads

GetRow(BindableObject)

Gets the row of the bindable child element.

GetRow(IView)

GetRow(BindableObject)

Source:
Grid.cs
Source:
Grid.cs

Gets the row of the bindable child element.

public:
 static int GetRow(Microsoft::Maui::Controls::BindableObject ^ bindable);
public static int GetRow (Microsoft.Maui.Controls.BindableObject bindable);
static member GetRow : Microsoft.Maui.Controls.BindableObject -> int
Public Shared Function GetRow (bindable As BindableObject) As Integer

Parameters

bindable
BindableObject

An element that belongs to the Grid layout.

Returns

The row that the child element is in.

Remarks

The GetRow(BindableObject) method corresponds to the following XAML attached property:

Attached PropertyValue
Row

An integer that represents the row in which the item will appear.

The remarks for the SetRow(BindableObject, Int32) method contain syntax for and information about the Row attached property.

Applies to

GetRow(IView)

Source:
Grid.cs
Source:
Grid.cs
public:
 virtual int GetRow(Microsoft::Maui::IView ^ view);
public int GetRow (Microsoft.Maui.IView view);
abstract member GetRow : Microsoft.Maui.IView -> int
override this.GetRow : Microsoft.Maui.IView -> int
Public Function GetRow (view As IView) As Integer

Parameters

view
IView

Returns

Implements

Applies to