Grid.ColumnSpan Attached Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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