共用方式為


FlexLayout.JustifyContent Property

Definition

Gets or sets a value that that describes how child elements are justified when there is extra space around them.

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

Property Value

A value that that describes how child elements are justified when there is extra space around them.

Remarks

The following image shows options for JustifyContent when Direction is set to Column and AlignItems is set to Stretch:

Applies to