VisualElement.Height Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current rendered height of this element in device-independent units. This is a read-only bindable property.
public:
property double Height { double get(); };
public double Height { get; }
member this.Height : double
Public ReadOnly Property Height As Double
Property Value
The height of the element in device-independent units (DIUs).
Remarks
The height of an element is set during layout.
Device-independent units (DIUs) provide a consistent unit of measurement across different screen densities. One device-independent unit equals one pixel on a 96-DPI display.