API Documentation > CorelDRAW > 2025-v26
CommandBar class
CommandBar class
Syntax:
Class CommandBar
Remarks:
The CommandBar class defines the characteristics of command-bar objects.
Properties:
Name Description
BuiltIn Gets whether the command bar is built-in
Controls Gets the collection of controls contained by the bar
Enabled Gets/sets the enabled status of the command bar
Index Gets/sets the index of the command bar in it's collection
Modes Returns a list of command bar modes
Name Gets/sets the name of the command bar
NameLocal Gets/sets the localized name of the command bar
Protection Gets/sets the protection of the bar
Type Gets the type of the bar
Visible Gets/sets the visible status of the command bar
Methods:
Name Description
Delete Deletes the command bar
Reset Resets the command bar to it's default property values
SetWidth Sets the width of the bar
ShowPopup Shows the bar as a popup