Share via


VisualElement.HeightRequest Property

Definition

Gets or sets the desired height override of this element.

public double HeightRequest { get; set; }
member this.HeightRequest : double with get, set

Property Value

System.Double

The height this element desires to be.

Remarks

HeightRequest does not immediately change the Bounds of a VisualElement, however setting the HeightRequest will change the result of calls to GetSizeRequest, which will in turn modify the final size the element receives during a layout cycle.

Applies to