CommandBars Interface

 

Represents the set of command bars.

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

[CoClassAttribute(typeof(CommandBarsClass))]
[GuidAttribute("83D31B2E-9990-4275-AE39-77D1FB5BBCD9")]
public interface CommandBars : _CommandBars, _CommandBarsEvents_Event

NameDescription
System_CAPS_pubpropertyActionControl

Gets the CommandBarControl whose OnAction event initiated the procedure that is currently running. (Inherited from _CommandBars.)

System_CAPS_pubpropertyActiveMenuBar

Gets the menu bar that is currently active.(Inherited from _CommandBars.)

System_CAPS_pubpropertyAdaptiveMenus

Determines whether the set of controls is determined by usage. Always returns false.(Inherited from _CommandBars.)

System_CAPS_pubpropertyApplication

Gets the DTE object.(Inherited from _CommandBars.)

System_CAPS_pubpropertyCount

Gets the number of CommandBars objects this contains.(Inherited from _CommandBars.)

System_CAPS_pubpropertyCreator

Gets the ID of the application.(Inherited from _CommandBars.)

System_CAPS_pubpropertyDisableAskAQuestionDropdown

Determines whether the AskAQuestion dropdown is disabled. Always returns true.(Inherited from _CommandBars.)

System_CAPS_pubpropertyDisableCustomize

Determines whether user customizations have been disabled.(Inherited from _CommandBars.)

System_CAPS_pubpropertyDisplayFonts

Determines whether a font name in the Font dropdown is displayed with the font of that name. Always returns false.(Inherited from _CommandBars.)

System_CAPS_pubpropertyDisplayKeysInTooltips

Determines whether key bindings are displayed in tooltips. Always returns true.(Inherited from _CommandBars.)

System_CAPS_pubpropertyDisplayTooltips

Determines whether tooltips are displayed for command bar controls. Always returns true.(Inherited from _CommandBars.)

System_CAPS_pubpropertyIdsString[Int32, String]

This property is deprecated.(Inherited from _CommandBars.)

System_CAPS_pubpropertyItem[Object]

Gets the command bar that matches the given name or index.(Inherited from _CommandBars.)

System_CAPS_pubpropertyLargeButtons

Determines whether large buttons are displayed on command bars. Always returns false.(Inherited from _CommandBars.)

System_CAPS_pubpropertyMenuAnimationStyle

Gets or sets the kind of animation style that is used when menus are displayed. Always returns msoMenuAnimationNone.(Inherited from _CommandBars.)

System_CAPS_pubpropertyParent

Gets the parent of this command bar, which is the DTE object.(Inherited from _CommandBars.)

System_CAPS_pubpropertyTmcGetName[Int32, String]

This method is deprecated.(Inherited from _CommandBars.)

NameDescription
System_CAPS_pubmethodAdd(Object, Object, Object, Object)

Adds a command bar.(Inherited from _CommandBars.)

System_CAPS_pubmethodadd_OnUpdate(_CommandBarsEvents_OnUpdateEventHandler)

Adds the OnUpdate event handler.(Inherited from _CommandBarsEvents_Event.)

System_CAPS_pubmethodAddEx(Object, Object, Object, Object, Object)

Adds a command bar, including its protection level.(Inherited from _CommandBars.)

System_CAPS_pubmethodFindControl(Object, Object, Object, Object)

Finds the command bar control that has the specified characteristics.(Inherited from _CommandBars.)

System_CAPS_pubmethodFindControls(Object, Object, Object, Object)

Finds all the command bar controls that match the given criteria.(Inherited from _CommandBars.)

System_CAPS_pubmethodGetEnumerator()

Gets the enumerator for this collection.(Inherited from _CommandBars.)

System_CAPS_pubmethodReleaseFocus()

Releases the focus, if it is on a menu or toolbar.(Inherited from _CommandBars.)

System_CAPS_pubmethodremove_OnUpdate(_CommandBarsEvents_OnUpdateEventHandler)

Removes the event handler.(Inherited from _CommandBarsEvents_Event.)

NameDescription
System_CAPS_pubeventOnUpdate

Raised when a CommandBars object is updated. This event is deprecated.(Inherited from _CommandBarsEvents_Event.)

Return to top
Show: