Grid.GetColumn(BindableObject) Method

Definition

Gets the column of the bindable child element.

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

Parameters

bindable
BindableObject

An element that belongs to the Grid layout.

Returns

System.Int32

The column that the child element is in.

Remarks

The GetColumn(BindableObject) method corresponds to the value that is set by the following XAML attached property.

Attached PropertyValue
Column

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

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

Applies to