FlexLayout.Direction Property

Definition

Gets or sets the flex direction for child elements within this layout.

public:
 property Microsoft::Maui::Layouts::FlexDirection Direction { Microsoft::Maui::Layouts::FlexDirection get(); void set(Microsoft::Maui::Layouts::FlexDirection value); };
public Microsoft.Maui.Layouts.FlexDirection Direction { get; set; }
member this.Direction : Microsoft.Maui.Layouts.FlexDirection with get, set
Public Property Direction As FlexDirection

Property Value

The flex direction for child elements within this layout.

Remarks

The following image shows the options for Direction with JustifyContent set to Start and AlignItems set to Stretch:

Applies to