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 TD Base0["Enum"]-->Type Base1["ValueType"]-->Base0 Base2["object"]-->Base1 Interface0["IComparable"]-.->Type Interface1["IFormattable"]-.->Type Interface2["IConvertible"]-.->Type 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