CommandBars Interface
Represents the set of command bars.
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
| Name | Description | |
|---|---|---|
![]() | ActionControl | Gets the CommandBarControl whose OnAction event initiated the procedure that is currently running. (Inherited from _CommandBars.) |
![]() | ActiveMenuBar | Gets the menu bar that is currently active.(Inherited from _CommandBars.) |
![]() | AdaptiveMenus | Determines whether the set of controls is determined by usage. Always returns false.(Inherited from _CommandBars.) |
![]() | Application | Gets the DTE object.(Inherited from _CommandBars.) |
![]() | Count | Gets the number of CommandBars objects this contains.(Inherited from _CommandBars.) |
![]() | Creator | Gets the ID of the application.(Inherited from _CommandBars.) |
![]() | DisableAskAQuestionDropdown | Determines whether the AskAQuestion dropdown is disabled. Always returns true.(Inherited from _CommandBars.) |
![]() | DisableCustomize | Determines whether user customizations have been disabled.(Inherited from _CommandBars.) |
![]() | DisplayFonts | Determines whether a font name in the Font dropdown is displayed with the font of that name. Always returns false.(Inherited from _CommandBars.) |
![]() | DisplayKeysInTooltips | Determines whether key bindings are displayed in tooltips. Always returns true.(Inherited from _CommandBars.) |
![]() | DisplayTooltips | Determines whether tooltips are displayed for command bar controls. Always returns true.(Inherited from _CommandBars.) |
![]() | IdsString[Int32, String] | This property is deprecated.(Inherited from _CommandBars.) |
![]() | Item[Object] | Gets the command bar that matches the given name or index.(Inherited from _CommandBars.) |
![]() | LargeButtons | Determines whether large buttons are displayed on command bars. Always returns false.(Inherited from _CommandBars.) |
![]() | MenuAnimationStyle | Gets or sets the kind of animation style that is used when menus are displayed. Always returns msoMenuAnimationNone.(Inherited from _CommandBars.) |
![]() | Parent | Gets the parent of this command bar, which is the DTE object.(Inherited from _CommandBars.) |
![]() | TmcGetName[Int32, String] | This method is deprecated.(Inherited from _CommandBars.) |
| Name | Description | |
|---|---|---|
![]() | Add(Object, Object, Object, Object) | Adds a command bar.(Inherited from _CommandBars.) |
![]() | add_OnUpdate(_CommandBarsEvents_OnUpdateEventHandler) | Adds the OnUpdate event handler.(Inherited from _CommandBarsEvents_Event.) |
![]() | AddEx(Object, Object, Object, Object, Object) | Adds a command bar, including its protection level.(Inherited from _CommandBars.) |
![]() | FindControl(Object, Object, Object, Object) | Finds the command bar control that has the specified characteristics.(Inherited from _CommandBars.) |
![]() | FindControls(Object, Object, Object, Object) | Finds all the command bar controls that match the given criteria.(Inherited from _CommandBars.) |
![]() | GetEnumerator() | Gets the enumerator for this collection.(Inherited from _CommandBars.) |
![]() | ReleaseFocus() | Releases the focus, if it is on a menu or toolbar.(Inherited from _CommandBars.) |
![]() | remove_OnUpdate(_CommandBarsEvents_OnUpdateEventHandler) | Removes the event handler.(Inherited from _CommandBarsEvents_Event.) |
| Name | Description | |
|---|---|---|
![]() | OnUpdate | Raised when a CommandBars object is updated. This event is deprecated.(Inherited from _CommandBarsEvents_Event.) |


