共用方式為


FlexAlignContent Enum

Definition

Enumerates values that control how multiple rows or columns of child elements are aligned.

[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.FlexAlignContentTypeConverter))]
public enum FlexAlignContent
type FlexAlignContent = 
Inheritance
System.Enum
FlexAlignContent
Attributes

Fields

Name Value Description
Stretch 1

Indicates that the collection of rows will stretch to fill the parent.

Center 2

Indicates that the group of rows will be centered within the parent.

Start 3

Indicates that the group of rows will be stacked against the start of the parent.

End 4

Indicates that the group of rows will be stacked against the end of the parent.

SpaceBetween 5

Indicates that the top and bottom row will align with the top and bottom of the parent, and the remaining rows will have identical space above and below themselves.

SpaceAround 6

Indicates that all rows will have the same amount of space above and below themselves them, except the top and bottom row, which will have half as much space between themselves and the top and bottom of the parent, respectively.

SpaceEvenly 7

Indicates that all rows will have the same amount of space above and below themselves them, including the top and bottom row.

Applies to