Share via


LayoutOptions.Alignment Property

Definition

Gets or sets a value that indicates how an element will be aligned.

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

Property Value

The LayoutAlignment flags that describe the behavior of an element.

Applies to