Windows.UI.Xaml.Controls.ColumnDefinition

June 22, 2022 · View on GitHub

-description

Defines column-specific properties that apply to Grid objects.

-xaml-syntax

<ColumnDefinition .../>

-remarks

-examples

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]

-see-also

DependencyObject, Grid, RowDefinition, ColumnDefinitions, RowDefinitions