Gets or sets the maximum width constraint of a
System.Windows.FrameworkElement.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property MaxWidth As System.Double |
| C# | |
|---|
public System.double MaxWidth {get; set;} |
Property Value
The maximum width of the object, in pixels. The default is
System.Double.PositiveInfinity. This value can be any value equal to or greater than 0.
System.Double.PositiveInfinity is also valid.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also