MenuCommand.Enabled Property

 

Gets a value indicating whether this menu item is available.

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

abstract Enabled : bool with get, set
override Enabled : bool with get, set

Property Value

Type: System.Boolean

true if the item is enabled; otherwise, false.

The following code example creates a MenuCommand object, configures its properties, and adds it to IMenuCommandService.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: