Xamarin.Forms.Grid.GetRowSpan Method
Gets the row span of the bindable child element.

Syntax

public static int GetRowSpan (BindableObject bindable)

Parameters

bindable
An element that belongs to the Grid layout.

Returns

The row that the child element is in.

Remarks

The Grid.GetRowSpan 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 Grid.SetRowSpan method contain syntax for and information about the RowSpan attached property.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0