VisualElement.MinimumWidthRequest Property

Definition

Gets or sets the minimum width the element will request during layout. This is a bindable property.

public:
 property double MinimumWidthRequest { double get(); void set(double value); };
public double MinimumWidthRequest { get; set; }
member this.MinimumWidthRequest : double with get, set
Public Property MinimumWidthRequest As Double

Property Value

The minimum width the element requires. Default value is -1.

Remarks

The default value is -1, which means the value is unset; the effective minimum width will be zero.

MinimumWidthRequest is used to ensure that the element has at least the specified width during layout.

Applies to