Επεξεργασία

Κοινή χρήση μέσω


Grid.ColumnDefinitions Property

Definition

Gets a ColumnDefinitionCollection defined on this instance of Grid.

public:
 property System::Windows::Controls::ColumnDefinitionCollection ^ ColumnDefinitions { System::Windows::Controls::ColumnDefinitionCollection ^ get(); };
public System.Windows.Controls.ColumnDefinitionCollection ColumnDefinitions { get; }
member this.ColumnDefinitions : System.Windows.Controls.ColumnDefinitionCollection
Public ReadOnly Property ColumnDefinitions As ColumnDefinitionCollection

Property Value

A ColumnDefinitionCollection defined on this instance of Grid

Remarks

XAML Property Element Usage

<object>  
  <object.ColumnDefinitions>  
    OneOrMoreColumnDefinitions  
  </object.ColumnDefinitions>  
</object>  

XAML Values

OneOrMoreColumnDefinitions
One or more ColumnDefinition elements. Each such ColumnDefinition becomes a placeholder representing a column in the final grid layout.

Applies to

See also