Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ToolStripMenuItem.Enabled Property

Definition

Namespace:
System.Windows.Forms
Assembly:
System.Windows.Forms.dll
Source:
ToolStripMenuItem.cs
Source:
ToolStripMenuItem.cs
Source:
ToolStripMenuItem.cs
Source:
ToolStripMenuItem.cs
Source:
ToolStripMenuItem.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets a value indicating whether the control is enabled.

public:
 virtual property bool Enabled { bool get(); void set(bool value); };
public override bool Enabled { get; set; }
member this.Enabled : bool with get, set
Public Overrides Property Enabled As Boolean

Property Value

true if the control is enabled; otherwise, false. The default is true.

Applies to


Feedback

Was this page helpful?