This topic has not yet been rated - Rate this topic

CommandBarsClass Class

See _CommandBars for details.

Object
  Microsoft.VisualStudio.CommandBars.CommandBarsClass

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
[ClassInterfaceAttribute()]
[GuidAttribute("2280D7E1-DBEB-4D9C-A3C6-B12CDDDBD1AF")]
public class CommandBarsClass : _CommandBars, 
	CommandBars, _CommandBarsEvents_Event, IEnumerable

The CommandBarsClass 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.
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.
Public propertyDisplayTooltipsDetermines whether tooltips are displayed for command bar controls.
Public propertyIdsStringGet the IDs string. This 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 the CommandBars object, which is the DTE object.
Public propertyTmcGetNameGets the name. This method has been deprecated.
Top
  NameDescription
Public methodAddAdds a command bar.
Public methodadd_OnUpdate
Public methodAddExAdds a command bar, including its protection level.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
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.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodReleaseFocusReleases the focus on this command bar.
Public methodremove_OnUpdate
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top
  NameDescription
Public eventOnUpdateHandles the case when the set of command bars is updated. This event is deprecated.
Top

This class implements the interface _CommandBars and _CommandBarsEvents_Event, and inherits from the class CommandBars.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.