Share via


CommandBar.Enabled Property

Determines if the specified command bar or is enabled.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Property Enabled As Boolean
    Get
    Set
'Usage
Dim instance As CommandBar
Dim value As Boolean

value = instance.Enabled

instance.Enabled = value
bool Enabled { get; set; }

Property Value

Type: System.Boolean
This property returns True if the specified command bar is enabled; False if not enabled.
Setting this property to True causes the name of the command bar to appear in the list of available command bars.

See Also

Reference

CommandBar Interface

CommandBar Members

Microsoft.Office.Core Namespace