-api-id | -api-type |
---|---|
T:Windows.UI.Xaml.Controls.ColumnDefinition |
winrt class |
Defines column-specific properties that apply to Grid objects.
<ColumnDefinition .../>
The following example uses three ColumnDefinitionand three RowDefinitions to create a grid that has nine cells, such as in a worksheet. Each cell contains a TextBlock element that represents data, and the top row contains a TextBlock with the ColumnSpan property applied.
[!code-xamlColumnDefinitionClassXAML]
DependencyObject, Grid, RowDefinition, ColumnDefinitions, RowDefinitions