View.VerticalOptions 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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.