Udostępnij za pośrednictwem


Grid.GetRow(BindableObject) Method

Definition

Gets the row of the bindable child element.

public static int GetRow (Xamarin.Forms.BindableObject bindable);
static member GetRow : Xamarin.Forms.BindableObject -> int

Parameters

bindable
BindableObject

An element that belongs to the Grid layout.

Returns

System.Int32

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