MenuCommand.Enabled Property
.NET Framework (current version)
Gets a value indicating whether this menu item is available.
Assembly: System (in System.dll)
The following code example creates a MenuCommand object, configures its properties, and adds it to IMenuCommandService.
.NET Framework
Available since 1.1
Available since 1.1
Show: