VerticalAlignment Enum

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

Fields

Top
0
Top aligned.
1
Middle aligned.
2
Bottom aligned.

Extension Methods

T And<VerticalAlignment>(Action<VerticalAlignment>)
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.