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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

property bool Enabled {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean
Return to top
Show: