FlexAlignContent Enum
Definition
Defines the alignment mode of the lines inside a Avalonia.Controls.FlexPanel along the cross-axis.
public enum FlexAlignContent
Fields
| Name | Description |
|---|---|
| Center | Lines are packed toward the center of the container |
| FlexEnd | Lines are packed toward the end of the container. |
| FlexStart | Lines are packed toward the start of the container. |
| SpaceAround | Lines are evenly distributed in the container, with half-size spaces on either end. |
| SpaceBetween | Lines are evenly distributed in the container, with no space on either end. |
| SpaceEvenly | Lines are evenly distributed in the container, with equal-size spaces between each line and on either end. |
| Stretch | Lines are stretched to take up the remaining space. |
Center Field
Lines are packed toward the center of the container
public Avalonia.Controls.FlexAlignContent Center
FlexEnd Field
Lines are packed toward the end of the container.
public Avalonia.Controls.FlexAlignContent FlexEnd
FlexStart Field
Lines are packed toward the start of the container.
public Avalonia.Controls.FlexAlignContent FlexStart
SpaceAround Field
Lines are evenly distributed in the container, with half-size spaces on either end.
public Avalonia.Controls.FlexAlignContent SpaceAround
SpaceBetween Field
Lines are evenly distributed in the container, with no space on either end.
public Avalonia.Controls.FlexAlignContent SpaceBetween
SpaceEvenly Field
Lines are evenly distributed in the container, with equal-size spaces between each line and on either end.
public Avalonia.Controls.FlexAlignContent SpaceEvenly
Stretch Field
Lines are stretched to take up the remaining space.
public Avalonia.Controls.FlexAlignContent Stretch
Remarks
This is the default value.