DrawItemState.cs 733 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // System.Windows.Forms.DrawItemState.cs
  3. //
  4. // Author:
  5. // Jaak Simm ([email protected])
  6. // Dennis Hayes ([email protected])
  7. // (C) 2002 Ximian, Inc. http://www.ximian.com
  8. //
  9. using System;
  10. namespace System.Windows.Forms {
  11. /// <summary>
  12. /// Specifies the state of an item that is being drawn.
  13. /// this enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
  14. /// </summary>
  15. [Flags]
  16. //[Serializable]
  17. public enum DrawItemState {
  18. None = 0,
  19. Selected = 1,
  20. Grayed = 2,
  21. Disabled = 4,
  22. Checked = 8,
  23. Focus = 16,
  24. Default = 32,
  25. HotLight = 64,
  26. Inactive = 128,
  27. NoAccelerator = 256,
  28. NoFocusRect = 512,
  29. ComboBoxEdit = 1024,
  30. }
  31. }