Skip to main content

GridUnitType Enum

Definition​

Assembly:Avalonia.Controls
Package:Avalonia

Defines the valid units for a Avalonia.Controls.GridLength.

public enum GridUnitType

Inheritance: Enum -> GridUnitType

Fields​

NameDescription
AutoThe row or column is auto-sized to fit its content.
PixelThe row or column is sized in device independent pixels.
StarThe 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