Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Grid.ColumnSpan Attached Property


Gets or sets a value that indicates the total number of columns that child content spans within a Grid.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

See GetColumnSpan, SetColumnSpan

Property Value

Type: System.Int32

Int32 that represents the number of columns that child content should span. The default value is 1.

Columns in a Grid are defined using the ColumnDefinition element.

Identifier field


Metadata properties set to true


Return to top
© 2016 Microsoft