Sdílet prostřednictvím


Grid.SetColumnSpan(BindableObject, Int32) Method

Definition

Changes the column span of the specified child element.

public static void SetColumnSpan (Xamarin.Forms.BindableObject bindable, int value);
static member SetColumnSpan : Xamarin.Forms.BindableObject * int -> unit

Parameters

bindable
BindableObject

A child element of this Grid on which to assign a new column span.

value
System.Int32

The new column span.

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 number of Columns that the item will span.

Applies to