HorizontalAlignment Enum

Represents horizontal alignment.
public enum HorizontalAlignment
Namespace
Spectre.Console
Interfaces
  • IComparable
  • ISpanFormattable
  • IFormattable
  • IConvertible
Base Types
  • ValueType
  • Enum

Fields

0
Left aligned.
1
Centered.
2
Right aligned.

Extension Methods

T And<HorizontalAlignment>(Action<HorizontalAlignment>)
Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.