VisualElement.MinimumHeightRequest Property

Definition

Gets or sets the minimum height the element will request during layout. 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 the element requires. Default value is -1.

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.

Applies to