Width (ColumnDefinition)

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

Gets the calculated width of a ColumnDefinition element, or sets the GridLength value of a column that is defined by the ColumnDefinition element.

<object Width="GridLength" .../>
value = object.Width
object.Width = value

XAML Values

See GridLength.

Property Value

Type: GridLength

The width, by GridLength.

This property is read/write.

Managed Equivalent

Width

Applies To

ColumnDefinition

Version Information

Silverlight 2