VisualElement.WidthRequest 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 width override of this element. This is a bindable property.
public:
property double WidthRequest { double get(); void set(double value); };
public double WidthRequest { get; set; }
member this.WidthRequest : double with get, set
Public Property WidthRequest As Double
Property Value
Remarks
The default value is -1, which means the value is unset and a width will be determined automatically.
WidthRequest does not immediately change the Bounds of an element; setting the WidthRequest will change the resulting width of the element during the next layout pass.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.