Export (0) Print
Expand All

_CommandBars Interface

Represents the set of CommandBar objects.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

[GuidAttribute("83D31B2E-9990-4275-AE39-77D1FB5BBCD9")]
public interface _CommandBars : _IVsMsoDispObj, 
	IEnumerable

The _CommandBars type exposes the following members.

  NameDescription
Public propertyActionControlGets the CommandBarControl whose OnAction event initiated the procedure that is currently running.
Public propertyActiveMenuBarGets the menu bar that is currently active.
Public propertyAdaptiveMenusDetermines whether the set of controls is determined by usage. Always returns false.
Public propertyApplicationGets the DTE object.
Public propertyCountGets the number of CommandBars objects this contains.
Public propertyCreatorGets the ID of the application.
Public propertyDisableAskAQuestionDropdownDetermines whether the AskAQuestion dropdown is disabled. Always returns true.
Public propertyDisableCustomizeDetermines whether user customizations have been disabled.
Public propertyDisplayFontsDetermines whether a font name in the Font dropdown is displayed with the font of that name. Always returns false.
Public propertyDisplayKeysInTooltipsDetermines whether key bindings are displayed in tooltips. Always returns true.
Public propertyDisplayTooltipsDetermines whether tooltips are displayed for command bar controls. Always returns true.
Public propertyIdsStringThis property is deprecated.
Public propertyItemGets the command bar that matches the given name or index.
Public propertyLargeButtonsDetermines whether large buttons are displayed on command bars. Always returns false.
Public propertyMenuAnimationStyleGets or sets the kind of animation style that is used when menus are displayed. Always returns msoMenuAnimationNone.
Public propertyParentGets the parent of this command bar, which is the DTE object.
Public propertyTmcGetNameThis method is deprecated.
Top

  NameDescription
Public methodAddAdds a command bar.
Public methodAddExAdds a command bar, including its protection level.
Public methodFindControlFinds the command bar control that has the specified characteristics.
Public methodFindControlsFinds all the command bar controls that match the given criteria.
Public methodGetEnumeratorGets the enumerator for this collection.
Public methodReleaseFocusReleases the focus, if it is on a menu or toolbar.
Top
Show:
© 2015 Microsoft