Grid.GetColumnSpan(BindableObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the column span of the bindable
child element.
public static int GetColumnSpan (Xamarin.Forms.BindableObject bindable);
static member GetColumnSpan : Xamarin.Forms.BindableObject -> int
Parameters
- bindable
- BindableObject
An element that belongs to the Grid layout.
Returns
The column that the child element is in.
Remarks
The GetColumnSpan(BindableObject) method corresponds to the value that is set by the following XAML attached property.
Attached Property | Value |
---|---|
ColumnSpan | An integer that represents the number of Columns that the item will span. |
The remarks for the SetColumnSpan(BindableObject, Int32) method contain syntax for and information about the ColumnSpan
attached property.