CommandBar.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 command bar is enabled.
public:
property bool Enabled { bool get(); void set(bool value); };
public:
property bool Enabled { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(1610874885)]
public bool Enabled { [System.Runtime.InteropServices.DispId(1610874885)] get; [System.Runtime.InteropServices.DispId(1610874885)] set; }
[<System.Runtime.InteropServices.DispId(1610874885)>]
[<get: System.Runtime.InteropServices.DispId(1610874885)>]
[<set: System.Runtime.InteropServices.DispId(1610874885)>]
member this.Enabled : bool with get, set
Public Property Enabled As Boolean
Property Value
true
if the command bar is enabled, otherwise false
.
- Attributes
Remarks
For command bars that are menu bars, the values of the properties Enabled and Visible are synchronized. For all other command bars, if a command bar is not Enabled, it is not Visible.