TabBehavior.cs 1011 B

12345678910111213141516171819202122232425262728
  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-point for keyboard-based navigation.
  9. /// <para>
  10. /// This flag has no impact on whether the view can be focused via means other than the keyboard. Use
  11. /// <see cref="View.CanFocus"/>
  12. /// to control whether a View can focus or not.
  13. /// </para>
  14. /// </summary>
  15. NoStop = 0,
  16. /// <summary>
  17. /// The View will be a stop-point for keyboard-based navigation across Views (e.g. if the user presses `Tab`).
  18. /// </summary>
  19. TabStop = 1,
  20. /// <summary>
  21. /// The View will be a stop-point for keyboard-based navigation across groups. (e.g. if the user presses
  22. /// <see cref="Application.NextTabGroupKey"/> (`Ctrl+PageDown`)).
  23. /// </summary>
  24. TabGroup = 2
  25. }