Share via


Grid.ColumnDefinitions プロパティ

定義

Grid 内の列のレイアウトを制御する ColumnDefinition オブジェクトの順序付けられたコレクションを取得または設定するバインドされたプロパティにインターフェイスを提供します。

public:
 property Microsoft::Maui::Controls::ColumnDefinitionCollection ^ ColumnDefinitions { Microsoft::Maui::Controls::ColumnDefinitionCollection ^ get(); void set(Microsoft::Maui::Controls::ColumnDefinitionCollection ^ value); };
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.ColumnDefinitionCollectionTypeConverter))]
public Microsoft.Maui.Controls.ColumnDefinitionCollection ColumnDefinitions { get; set; }
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.ColumnDefinitionCollectionTypeConverter))>]
member this.ColumnDefinitions : Microsoft.Maui.Controls.ColumnDefinitionCollection with get, set
Public Property ColumnDefinitions As ColumnDefinitionCollection

プロパティ値

Grid インスタンスの ColumnDefinitionCollection。

属性

注釈

ColumnDefinitions は、各列の幅を決定する ColumnDefinition オブジェクトの順序付きセットです。 連続する各 ColumnDefintion は、連続する各列の幅を制御します。 ColumnDefinitions が空の場合、または定義より多くの列がある場合、定義がない列は、その Width プロパティが に Star設定されている ColumnDefinition オブジェクトによって制御されたかのようにレンダリングされます。

プロパティには ColumnDefinitions XAML 構文がサポートされています。 この操作の構文を次に示します。

適用対象