MinHeight Property
Collapse the table of content
Expand the table of content

RowDefinition.MinHeight 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 minimum allowed 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 MinHeight { get; set; }
<RowDefinition MinHeight="double"/>

Property Value

Type: System.Double
A Double that represents the minimum allowed height. The default value is 0.

Dependency property identifier field: MinHeightProperty

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

© 2018 Microsoft