Partager via


Grid.Column

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

Gets or sets a value that indicates the column in which child content in a Grid object should appear.

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

Property Value

Type: integer

An integer that specifies which column in a Grid instance (by zero-based index) should render the object where Grid.Column is applied as an attached property.

This property is read/write. The default is 0.

Managed Equivalent

Grid.Column

Remarks

Grid.Column is an attached property.

Applies To

UIElement

Version Information

Silverlight 2