TabBehavior.cs 742 B

12345678910111213141516171819202122
  1. namespace Terminal.Gui;
  2. /// <summary>
  3. /// Describes how <see cref="View.TabStop"/> behaves. A TabStop is a stop-point for keyboard navigation between Views.
  4. /// </summary>
  5. public enum TabBehavior
  6. {
  7. /// <summary>
  8. /// The View will not be a stop-poknt for keyboard-based navigation.
  9. /// </summary>
  10. NoStop = 0,
  11. /// <summary>
  12. /// The View will be a stop-point for keybaord-based navigation across Views (e.g. if the user presses `Tab`).
  13. /// </summary>
  14. TabStop = 1,
  15. /// <summary>
  16. /// The View will be a stop-point for keyboard-based navigation across groups (e.g. if the user preesses <see cref="Application.NextTabGroupKey"/> (`Ctrl-PageDown`).
  17. /// </summary>
  18. TabGroup = 2,
  19. }