EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

FrameworkElement.MaxHeight Property

July 28, 2014

Gets or sets the maximum height constraint of a FrameworkElement.

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

'Declaração
Public Property MaxHeight As Double
<frameworkElement MaxHeight="double"/>

Property Value

Type: System.Double
The maximum height of the element, in logical pixels. The default value is PositiveInfinity. This value can be any value equal to or greater than 0. PositiveInfinity is also valid.

Dependency property identifier field: MaxHeightProperty

This is one of three properties on FrameworkElement that specify height information. The other two are MinHeight and Height. If there is a conflict between these values, the order of application for actual height determination is first MinHeight must be honored, then MaxHeight, and finally if each of these are within bounds, Height.

Non-integral values for MaxHeight are technically permitted, but should generally be avoided and are normally rounded by the default layout rounding behavior.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Mostrar:
© 2014 Microsoft