Xamarin.Forms.Grid.SetColumn Method
Changes the column in which a child element will be placed.

Syntax

public static void SetColumn (BindableObject bindable, int value)

Parameters

bindable
A child element of this Grid to move to a different column.
value
The column in which to place the child element.

Remarks

The Grid.GetColumSpan method corresponds to the value that is set by the following XAML attached property.

Attached PropertyValue
ColumnSpan

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

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