System.Windows.Forms.MenuItem.Enabled Property

Gets or sets a value indicating whether the menu item is enabled.

Syntax

[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue(true)]
public bool Enabled { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

A System.Windows.Forms.MenuItem that is disabled is displayed in a gray color to indicate its state. When a parent menu item is disabled, all submenu items are not displayed.

Requirements

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