Share via


Grid.GetRowSpan(BindableObject) Method

Definition

Gets the row span of the bindable child element.

public static int GetRowSpan (Xamarin.Forms.BindableObject bindable);
static member GetRowSpan : 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 GetRowSpan(BindableObject) method corresponds to the following XAML attached properties:

Attached PropertyValue
RowSpanAn integer that represents the number of rows that the item will span.

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

Applies to