TextAlignment Enum

Summary

Defines how text is aligned.
Namespace
Avalonia.Media
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["TextAlignment"] class Type type-node

Syntax

public enum TextAlignment

Fields

Name Constant Value Summary
Center 1
The text is centered.
static
Left 0
The text is left-aligned.
static
Right 2
The text is right-aligned.
static

Extension Methods