Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RowDefinition.MaxHeight Property

July 28, 2014

Gets or sets a value that represents the maximum height of a RowDefinition.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

public double MaxHeight { get; set; }
<RowDefinition MaxHeight="double"/>

Property Value

Type: System.Double
A Double that represents the maximum height.

Dependency property identifier field: MaxHeightProperty

When you use multiple height settings in a RowDefinition, the MinHeight value takes precedence over the MaxHeight value, which in turn takes precedence over the Height 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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft