HorizontalAlignment Enum

Summary

Defines how a control aligns itself horizontally in its parent control.
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["HorizontalAlignment"] class Type type-node

Syntax

public enum HorizontalAlignment

Fields

Name Constant Value Summary
Center 2
The control centers itself in the parent control.
static
Left 1
The control aligns itself to the left of the parent control.
static
Right 3
The control aligns itself to the right of the parent control.
static
Stretch 0
The control stretches to fill the width of the parent control.
static

Extension Methods