_CommandBarComboBox.Enabled Property
Determines if the specified command bar or command bar control is enabled.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Property Enabled As Boolean
Get
Set
'Usage
Dim instance As _CommandBarComboBox
Dim value As Boolean
value = instance.Enabled
instance.Enabled = value
bool Enabled { get; set; }
Property Value
Type: System.Boolean
Implements
Remarks
This property returns True if the specified command bar or command bar control is enabled; False if it is disabled.
For command bars, setting this property to True causes the name of the command bar to appear in the list of available command bars.
For built-in controls, if you set the Enabled property to True, the application determines its state, but setting it to False will force it to be disabled.