Gets a list of ColumnDefinition objects defined on this instance of Grid.
Syntax
<Grid> <Grid.ColumnDefinitions> oneOrMoreColumnDefinitions </Grid.ColumnDefinitions> </Grid>
XAML Values
- oneOrMoreColumnDefinitions
-
One or more ColumnDefinition elements. Each such ColumnDefinition becomes a placeholder representing a column in the final grid layout.
Property value
Type: ColumnDefinitionCollection
A list of ColumnDefinition objects defined on this instance of Grid.
Examples
The following example creates a Grid with two columns by using ColumnDefinitions.
<Grid.ColumnDefinitions> <ColumnDefinition Width="250" /> <ColumnDefinition Width="150" /> </Grid.ColumnDefinitions>
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 3/12/2013