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

Gets or sets the maximum width constraint of an object.

<object MaxWidth="double" .../>
value = object.MaxWidth
object.MaxWidth = value

Property Value

Type: Double

The maximum width constraint.

This property is read/write. The default (for JavaScript) is an undefined large number.

Managed Equivalent

MaxWidth; MaxWidth

Version Information

Silverlight 2