FlexBasisKind Enum
Definition
Determines how Avalonia.Controls.FlexBasis affects the size of the flex item
public enum FlexBasisKind
Fields
| Name | Description |
|---|---|
| Absolute | The initial size of the item is set to the Avalonia.Controls.FlexBasis value. |
| Auto | Uses the measured Width and Height of the Avalonia.Controls.FlexPanel to determine the initial size of the item. |
| Relative | Indicates the Avalonia.Controls.FlexBasis value is a fraction of the container's main-axis size, where 1.0 means 100%. |
Absolute Field
The initial size of the item is set to the Avalonia.Controls.FlexBasis value.
public Avalonia.Controls.FlexBasisKind Absolute
Auto Field
Uses the measured Width and Height of the Avalonia.Controls.FlexPanel to determine the initial size of the item.
public Avalonia.Controls.FlexBasisKind Auto
Relative Field
Indicates the Avalonia.Controls.FlexBasis value is a fraction of the container's main-axis size, where 1.0 means 100%.
public Avalonia.Controls.FlexBasisKind Relative