System.Windows.Forms.DrawItemState Enumeration

Specifies the state of an item that is being drawn.

Syntax

[System.Flags]
public enum DrawItemState

Remarks

This enumeration is used by members such as DrawItemEventArgs.State.

Members

Member NameDescription
Checked

The item is checked. Only menu controls use this value.

ComboBoxEdit

The item is the editing portion of a System.Windows.Forms.ComboBox.

Default

The item is in its default visual state.

Disabled

The item is unavailable.

Focus

The item has focus.

Grayed

The item is grayed. Only menu controls use this value.

HotLight

The item is being hot-tracked, that is, the item is highlighted as the mouse pointer passes over it.

Inactive

The item is inactive.

NoAccelerator

The item displays without a keyboard accelerator.

NoFocusRect

The item displays without the visual cue that indicates it has focus.

None

The item currently has no state.

Selected

The item is selected.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0