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.

'Declaration
Public Property MinHeight As Double
<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

Show:
© 2017 Microsoft