TextAlignment.cs 556 B

1234567891011121314151617181920
  1. namespace Terminal.Gui;
  2. /// <summary>Text alignment enumeration, controls how text is displayed.</summary>
  3. public enum TextAlignment
  4. {
  5. /// <summary>The text will be left-aligned.</summary>
  6. Left,
  7. /// <summary>The text will be right-aligned.</summary>
  8. Right,
  9. /// <summary>The text will be centered horizontally.</summary>
  10. Centered,
  11. /// <summary>
  12. /// The text will be justified (spaces will be added to existing spaces such that the text fills the container
  13. /// horizontally).
  14. /// </summary>
  15. Justified
  16. }