Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the control is enabled.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'Declaration
Public Overridable Property Enabled As Boolean
public virtual bool Enabled { get; set; }
public:
virtual property bool Enabled {
bool get ();
void set (bool value);
}
abstract Enabled : bool with get, set
override Enabled : bool with get, set
function get Enabled () : boolean
function set Enabled (value : boolean)
Property Value
Type: System.Boolean
true if the control is enabled, otherwise false.
Implements
Remarks
The enabled state is not preserved across sessions.
.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.