Freigeben über


IMenuCommand.Enabled Property

Set to true to allow the user to invoke the command. If false, the label will be grayed out if it is visible.

Namespace:  Microsoft.VisualStudio.Modeling.ExtensionEnablement
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaration
Property Enabled As Boolean
    Get
    Set
bool Enabled { get; set; }
property bool Enabled {
    bool get ();
    void set (bool value);
}
abstract Enabled : bool with get, set
function get Enabled () : boolean
function set Enabled (value : boolean)

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

IMenuCommand Interface

Microsoft.VisualStudio.Modeling.ExtensionEnablement Namespace