DrawItemState | serializable, flag |
System.Windows.Forms (system.windows.forms.dll) | enum |
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
}
Hierarchy
System.Object System.ValueType
System.Enum(System.IComparabl,
System.IFormattable,
System.IConvertible)
DrawItemState
Returned By
DrawItemEventArgs.State
Passed To
DrawItemEventArgs.DrawItemEventArgs(),
StatusBarDrawItemEventArgs.StatusBarDrawItemEventArgs()
|