Xamarin.Forms.Grid.ColumnDefinitions Property
Provides the interface for the bound property that gets or sets the ordered collection of Xamarin.Forms.ColumnDefinition objects that control the layout of columns in the Xamarin.Forms.Grid.

Syntax

public ColumnDefinitionCollection ColumnDefinitions { get; set; }

Value

A ColumnDefinitionCollection for the Grid instance.

Remarks

ColumnDefinitions is an ordered set of ColumnDefinition objects that determine the width of each column. Each successive ColumnDefintion controls the width of each successive column. If ColumnDefinitions is empty, or if there are more columns than definitions, then columns for which there is no definition are rendered as if they were controlled by a ColumnDefinition object that has its ColumnDefinition.Width property set to GridLength.Auto.

The Grid.ColumnDefinitions property has XAML syntax support. The syntax for this operation is shown below.

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