Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.32 KB

columndefinition.md

File metadata and controls

34 lines (21 loc) · 1.32 KB
-api-id -api-type
T:Windows.UI.Xaml.Controls.ColumnDefinition
winrt class

Windows.UI.Xaml.Controls.ColumnDefinition

-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