This topic has not yet been rated - Rate this topic

RowDefinition.ActualHeight Property

April 12, 2014

Gets a value that represents the calculated height of the RowDefinition.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)
public double ActualHeight { get; }

Property Value

Type: System.Double
A Double that represents the calculated height in logical pixels. The default value is 0.

When you use these values, 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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.