Side.cs 620 B

12345678910111213141516171819202122232425262728293031
  1. using Terminal.Gui.Analyzers.Internal.Attributes;
  2. namespace Terminal.Gui;
  3. /// <summary>
  4. /// Indicates the side for <see cref="Pos"/> operations.
  5. /// </summary>
  6. ///
  7. [GenerateEnumExtensionMethods]
  8. public enum Side
  9. {
  10. /// <summary>
  11. /// The left (X) side of the view.
  12. /// </summary>
  13. Left = 0,
  14. /// <summary>
  15. /// The top (Y) side of the view.
  16. /// </summary>
  17. Top = 1,
  18. /// <summary>
  19. /// The right (X + Width) side of the view.
  20. /// </summary>
  21. Right = 2,
  22. /// <summary>
  23. /// The bottom (Y + Height) side of the view.
  24. /// </summary>
  25. Bottom = 3
  26. }