MenuItemState Enumeration

Specifies a menu item state.

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public enum MenuItemState

Remarks

Members

Enabled 0 The menu item is present and can be selected.

This is the default state.

Unchecked 0 Does not place a check mark next to the item (default).

If the application supplies check-mark bitmaps, this flag displays the clear bitmap next to the menu item.

Grayed 1 The menu item is present but greyed-out and cannot be selected.
Disabled 2 The menu item is present but can not be selected.
Checked 8 Places a check mark next to the menu item.

If the application provides check-mark bitmaps, this flag displays the check-mark bitmap next to the menu item.

Removed -1 The menu item is not present.

See Also