ColumnDefinition.MaxWidth Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets a value that represents the maximum width of a ColumnDefinition.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<ColumnDefinition MaxWidth="double"/>
Property Value
Type: System.DoubleA Double that represents the maximum width in logical pixels. The default is PositiveInfinity.
Dependency property identifier field: MaxWidthProperty
When you use multiple width settings in a ColumnDefinition, the MinWidth value takes precedence over the MaxWidth value, which in turn takes precedence over the Width value.
When you add or remove rows or columns, the ActualWidth for all ColumnDefinition elements and the ActualHeight of all RowDefinition elements become zero until Measure is called.