Share via


View.VerticalOptions Property

Definition

Gets or sets the LayoutOptions that define how the element gets laid out in a layout cycle. This is a bindable property.

public:
 property Microsoft::Maui::Controls::LayoutOptions VerticalOptions { Microsoft::Maui::Controls::LayoutOptions get(); void set(Microsoft::Maui::Controls::LayoutOptions value); };
public Microsoft.Maui.Controls.LayoutOptions VerticalOptions { get; set; }
member this.VerticalOptions : Microsoft.Maui.Controls.LayoutOptions with get, set
Public Property VerticalOptions As LayoutOptions

Property Value

Remarks

Assigning VerticalOptions modifies how the element is laid out when there is excess space available along the Y axis from the parent layout. If multiple elements inside a layout are set to expand, the extra space is distributed proportionally.

Applies to