Share via


VisualElement.MinimumWidthRequest Property

Definition

Gets or sets the minimum width the element will request during layout in device-independent units. 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 in device-independent units (DIUs), or -1 if unset.

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.

Device-independent units (DIUs) provide a consistent unit of measurement across different screen densities. One device-independent unit equals one pixel on a 96-DPI display.

Applies to