GridUnitType Enum
Definition
Defines the valid units for a Avalonia.Controls.GridLength.
public enum GridUnitType
Fields
| Name | Description |
|---|---|
| Auto | The row or column is auto-sized to fit its content. |
| Pixel | The row or column is sized in device independent pixels. |
| Star | The row or column is sized as a weighted proportion of available space. |
Auto Field
The row or column is auto-sized to fit its content.
public Avalonia.Controls.GridUnitType Auto
Pixel Field
The row or column is sized in device independent pixels.
public Avalonia.Controls.GridUnitType Pixel
Star Field
The row or column is sized as a weighted proportion of available space.
public Avalonia.Controls.GridUnitType Star