VisualElement.MinimumHeightRequest Property
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. 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
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.
Product | Versions |
---|---|
.NET MAUI | 8, 9 |
.NET MAUI feedback
.NET MAUI is an open source project. Select a link to provide feedback: