UniformGridLayoutItemsStretch Enum

Summary

Defines constants that specify how items are sized to fill the available space.
Namespace
Avalonia.Layout
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["UniformGridLayoutItemsStretch"] class Type type-node

Syntax

public enum UniformGridLayoutItemsStretch

Fields

Name Constant Value Summary
Fill 1
The item is sized to fill the available space in the non-scrolling direction. Item size in the scrolling direction is not changed.
static
None 0
The item retains its natural size. Use of extra space is determined by the ItemsJustification property.
static
Uniform 2
The item is sized to both fill the available space in the non-scrolling direction and maintain its aspect ratio.
static

Extension Methods