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 Microsoft.Maui.Controls.LayoutOptions VerticalOptions { get; set; }

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