MenuItemCheckStyle.cs 605 B

12345678910111213141516
  1. #nullable disable
  2. namespace Terminal.Gui.Views;
  3. /// <summary>Specifies how a <see cref="MenuItem"/> shows selection state.</summary>
  4. [Flags]
  5. public enum MenuItemCheckStyle
  6. {
  7. /// <summary>The menu item will be shown normally, with no check indicator. The default.</summary>
  8. NoCheck = 0b_0000_0000,
  9. /// <summary>The menu item will indicate checked/un-checked state (see <see cref="Checked"/>).</summary>
  10. Checked = 0b_0000_0001,
  11. /// <summary>The menu item is part of a menu radio group (see <see cref="Checked"/>) and will indicate selected state.</summary>
  12. Radio = 0b_0000_0010
  13. }