Share via


VisualElement.MaximumWidthRequest Property

Definition

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

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

Property Value

Remarks

The default value is PositiveInfinity.

MaximumWidthRequest is used to ensure the element has no more than the specified width during layout.

Applies to