Freigeben über


CommandBarsClass Members

Include Protected Members
Include Inherited Members

See _CommandBars for details.

The CommandBarsClass type exposes the following members.

Methods

  Name Description
Public method Add Adds a command bar.
Public method add_OnUpdate
Public method AddEx Adds a command bar, including its protection level.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method FindControl Finds the command bar control that has the specified characteristics.
Public method FindControls Finds all the command bar controls that match the given criteria.
Public method GetEnumerator Gets the enumerator.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ReleaseFocus Releases the focus on this command bar.
Public method remove_OnUpdate
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property ActionControl Gets the CommandBarControl whose OnAction event initiated the procedure that is currently running.
Public property ActiveMenuBar Gets the menu bar that is currently active.
Public property AdaptiveMenus Determines whether the set of controls is determined by usage.
Public property Application Gets the DTE object.
Public property Count Gets the number of CommandBars objects this contains.
Public property Creator Gets the ID of the application.
Public property DisableAskAQuestionDropdown Determines whether the AskAQuestion dropdown is disabled. Always returns true.
Public property DisableCustomize Determines whether user customizations have been disabled.
Public property DisplayFonts Determines whether a font name in the Font dropdown is displayed with the font of that name. Always returns false.
Public property DisplayKeysInTooltips Determines whether key bindings are displayed in tooltips.
Public property DisplayTooltips Determines whether tooltips are displayed for command bar controls.
Public property IdsString Get the IDs string. This property is deprecated.
Public property Item Gets the command bar that matches the given name or index.
Public property LargeButtons Determines whether large buttons are displayed on command bars. Always returns false.
Public property MenuAnimationStyle Gets or sets the kind of animation style that is used when menus are displayed. Always returns msoMenuAnimationNone.
Public property Parent Gets the parent of the CommandBars object, which is the DTE object.
Public property TmcGetName Gets the name. This method has been deprecated.

Top

Events

  Name Description
Public event OnUpdate Handles the case when the set of command bars is updated. This event is deprecated.

Top

See Also

Reference

CommandBarsClass Class

Microsoft.VisualStudio.CommandBars Namespace