IMenuItem.IsEnabled Property
Gets or sets whether a menu command is enabled and can be executed.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Property IsEnabled As Boolean
bool IsEnabled { get; set; }
Property Value
Type: System.Boolean
True if the menu command is enabled; false otherwise.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.