FlexAlignItems Enum
Definition
Defines the alignment mode along the cross-axis of Avalonia.Controls.FlexPanel child items.
public enum FlexAlignItems
Fields
| Name | Description |
|---|---|
| Center | Items are aligned to the cross-axis center of the line. |
| FlexEnd | Items are aligned to the cross-axis end margin edge of the line. |
| FlexStart | Items are aligned to the cross-axis start margin edge of the line. |
| Stretch | Items are stretched to fill the cross size of the line. |
Center Field
Items are aligned to the cross-axis center of the line.
public Avalonia.Controls.FlexAlignItems Center
Remarks
If the cross size of the line is less than that of the child item, it will overflow equally in both directions.
FlexEnd Field
Items are aligned to the cross-axis end margin edge of the line.
public Avalonia.Controls.FlexAlignItems FlexEnd
FlexStart Field
Items are aligned to the cross-axis start margin edge of the line.
public Avalonia.Controls.FlexAlignItems FlexStart
Stretch Field
Items are stretched to fill the cross size of the line.
public Avalonia.Controls.FlexAlignItems Stretch
Remarks
This is the default value.