CommandBars Interface
Represents the set of command bars.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'宣告
<GuidAttribute("83D31B2E-9990-4275-AE39-77D1FB5BBCD9")> _
Public Interface CommandBars _
Inherits _CommandBars, _CommandBarsEvents_Event
[GuidAttribute("83D31B2E-9990-4275-AE39-77D1FB5BBCD9")]
public interface CommandBars : _CommandBars,
_CommandBarsEvents_Event
The CommandBars type exposes the following members.
Properties
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 | This property is deprecated. (Inherited from _CommandBars.) | |
Item | 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 | This method is deprecated. (Inherited from _CommandBars.) |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds a command bar. (Inherited from _CommandBars.) | |
add_OnUpdate | (Inherited from _CommandBarsEvents_Event.) | |
AddEx | Adds a command bar, including its protection level. (Inherited from _CommandBars.) | |
FindControl | Finds the command bar control that has the specified characteristics. (Inherited from _CommandBars.) | |
FindControls | 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 | (Inherited from _CommandBarsEvents_Event.) |
Top
Events
Name | Description | |
---|---|---|
OnUpdate | Raised when a CommandBars object is updated. This event is deprecated. (Inherited from _CommandBarsEvents_Event.) |
Top