GridUnitType Enum

Summary

Defines the valid units for a GridLength.
Namespace
Avalonia.Controls
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] Type["GridUnitType"] class Type type-node

Syntax

public enum GridUnitType

Fields

Name Constant Value Summary
Auto 0
The row or column is auto-sized to fit its content.
static
Pixel 1
The row or column is sized in device independent pixels.
static
Star 2
The row or column is sized as a weighted proportion of available space.
static

Extension Methods