March 2003
Intermediate to advanced
896 pages
32h 35m
English
DrawItemState
This bitfield enumeration can specify the various styles with which
you should paint an item in an owner draw operation (e.g., with or
without Focus, Checked, etc.)
See DrawItemEventArgs for more information on
owner draw.
public enum DrawItemState { None = 0x00000000, Selected = 0x00000001, Grayed = 0x00000002, Disabled = 0x00000004, Checked = 0x00000008, Focus = 0x00000010, Default = 0x00000020, HotLight = 0x00000040, Inactive = 0x00000080, NoAccelerator = 0x00000100, NoFocusRect = 0x00000200, ComboBoxEdit = 0x00001000 }
System.Object
→ System.ValueType → System.Enum(System.IComparabl,
System.IFormattable,
System.IConvertible)
→ DrawItemState
DrawItemEventArgs.State
DrawItemEventArgs.DrawItemEventArgs(),
StatusBarDrawItemEventArgs.StatusBarDrawItemEventArgs()
Read now
Unlock full access