_CommandBars Interface
Represents the set of CommandBar objects.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'Declaração
<GuidAttribute("83D31B2E-9990-4275-AE39-77D1FB5BBCD9")> _
Public Interface _CommandBars _
Inherits _IVsMsoDispObj, IEnumerable
[GuidAttribute("83D31B2E-9990-4275-AE39-77D1FB5BBCD9")]
public interface _CommandBars : _IVsMsoDispObj,
IEnumerable
The _CommandBars type exposes the following members.
Properties
Name | Description | |
---|---|---|
ActionControl | Gets the CommandBarControl whose OnAction event initiated the procedure that is currently running. | |
ActiveMenuBar | Gets the menu bar that is currently active. | |
AdaptiveMenus | Determines whether the set of controls is determined by usage. Always returns false. | |
Application | Gets the DTE object. | |
Application | Gets the DTE object. (Inherited from _IVsMsoDispObj.) | |
Count | Gets the number of CommandBars objects this contains. | |
Creator | Gets the ID of the application. | |
Creator | Gets the ID of the application. (Inherited from _IVsMsoDispObj.) | |
DisableAskAQuestionDropdown | Determines whether the AskAQuestion dropdown is disabled. Always returns true. | |
DisableCustomize | Determines whether user customizations have been disabled. | |
DisplayFonts | Determines whether a font name in the Font dropdown is displayed with the font of that name. Always returns false. | |
DisplayKeysInTooltips | Determines whether key bindings are displayed in tooltips. Always returns true. | |
DisplayTooltips | Determines whether tooltips are displayed for command bar controls. Always returns true. | |
IdsString | This property is deprecated. | |
Item | Gets the command bar that matches the given name or index. | |
LargeButtons | Determines whether large buttons are displayed on command bars. Always returns false. | |
MenuAnimationStyle | Gets or sets the kind of animation style that is used when menus are displayed. Always returns msoMenuAnimationNone. | |
Parent | Gets the parent of this command bar, which is the DTE object. | |
TmcGetName | This method is deprecated. |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds a command bar. | |
AddEx | Adds a command bar, including its protection level. | |
FindControl | Finds the command bar control that has the specified characteristics. | |
FindControls | Finds all the command bar controls that match the given criteria. | |
GetEnumerator() | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) | |
GetEnumerator() | Gets the enumerator for this collection. | |
ReleaseFocus | Releases the focus, if it is on a menu or toolbar. |
Top