View.HorizontalOptions 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 HorizontalOptions { Microsoft::Maui::Controls::LayoutOptions get(); void set(Microsoft::Maui::Controls::LayoutOptions value); };
public Microsoft.Maui.Controls.LayoutOptions HorizontalOptions { get; set; }
member this.HorizontalOptions : Microsoft.Maui.Controls.LayoutOptions with get, set
Public Property HorizontalOptions As LayoutOptions
Property Value
Remarks
Assigning HorizontalOptions modifies how the element is laid out when there is excess space available along the X 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.