CommandBarButtonClass.Enabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the control is enabled.
public:
virtual property bool Enabled { bool get(); void set(bool value); };
public:
virtual property bool Enabled { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(1610874890)]
public virtual bool Enabled { [System.Runtime.InteropServices.DispId(1610874890)] get; [System.Runtime.InteropServices.DispId(1610874890)] set; }
[<System.Runtime.InteropServices.DispId(1610874890)>]
[<get: System.Runtime.InteropServices.DispId(1610874890)>]
[<set: System.Runtime.InteropServices.DispId(1610874890)>]
member this.Enabled : bool with get, set
Public Overridable Property Enabled As Boolean
Property Value
true
if the control is enabled, otherwise false
.
Implements
- Attributes
Remarks
The enabled state is not preserved across sessions.