Skip to main content

GridUnitType Enumeration

Defines the valid units for a GridLength.

Definition​

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public enum GridUnitType

Members​

Auto0The row or column is auto-sized to fit its content.
Pixel1The row or column is sized in device independent pixels.
Star2The row or column is sized as a weighted proportion of available space.

See Also​

Reference​

Avalonia.Controls Namespace