VisualElement.MinimumHeightRequest 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 or sets the minimum height the element will request during layout in device-independent units. This is a bindable property.
public:
property double MinimumHeightRequest { double get(); void set(double value); };
public double MinimumHeightRequest { get; set; }
member this.MinimumHeightRequest : double with get, set
Public Property MinimumHeightRequest As Double
Property Value
The minimum height in device-independent units (DIUs), or -1 if unset.
Remarks
The default value is -1, which means the value is unset and a height will be determined automatically.
MinimumHeightRequest is used to ensure that the element has at least the specified height 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.