VisualElement.HeightRequest 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 desired height override of this element. This is a bindable property.
public:
property double HeightRequest { double get(); void set(double value); };
public double HeightRequest { get; set; }
member this.HeightRequest : double with get, set
Public Property HeightRequest As Double
Property Value
Remarks
The default value is -1, which means the value is unset; the effective minimum height will be zero.
HeightRequest does not immediately change the Bounds of an element; setting the HeightRequest will change the resulting height of the element during the next layout pass.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.