Grid.ColumnSpan

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

<object Grid.ColumnSpan="integer"  .../>
value = object["Grid.ColumnSpan"]
object["Grid.ColumnSpan"] = value

Property Value

Type: integer

A value that represents the number of columns to span, when the object is positioned where Grid.ColumnSpan is applied as an attached property.

This property is read/write. The default value is 1.

Managed Equivalent

Grid.ColumnSpan

Remarks

Grid.ColumnSpan is an attached property.

Applies To

UIElement

Version Information

Silverlight 2