CommandBar Interface
Collapse the table of content
Expand the table of content

CommandBar Interface

 

Represents a command bar.

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

[GuidAttribute("D27B4DFE-351C-4AD4-9211-F49BEC19106D")]
[TypeLibTypeAttribute(4288)]
public interface CommandBar : _IVsMsoOleAccDispObj

NameDescription
System_CAPS_pubpropertyaccChild[Object]

Gets the child. This property is deprecated.

System_CAPS_pubpropertyaccChildCount

Gets the number of children. This property is deprecated.

System_CAPS_pubpropertyaccDefaultAction[Object]

Gets the default action. This property is deprecated.

System_CAPS_pubpropertyaccDescription[Object]

Gets the description. This property is deprecated.

System_CAPS_pubpropertyaccFocus

Gets the focus. This property is deprecated.

System_CAPS_pubpropertyaccHelp[Object]

Gets the help string. This property is deprecated.

System_CAPS_pubpropertyaccHelpTopic[String, Object]

Gets the help topic. This property is deprecated.

System_CAPS_pubpropertyaccKeyboardShortcut[Object]

Gets the keyboard shortcut. This property is deprecated.

System_CAPS_pubpropertyaccName[Object]

Gets the name of the object.

System_CAPS_pubpropertyaccParent

Gets the parent. This property is deprecated.

System_CAPS_pubpropertyaccRole[Object]

Gets the role. This property is deprecated.

System_CAPS_pubpropertyaccSelection

Gets the selection. This property is deprecated.

System_CAPS_pubpropertyaccState[Object]

Gets the state. This property is deprecated.

System_CAPS_pubpropertyaccValue[Object]

Gets the value. This property is deprecated.

System_CAPS_pubpropertyAdaptiveMenu

Determines whether menu commands appear and disappear based on usage. Always returns false.

System_CAPS_pubpropertyApplication

Gets the DTE object.

System_CAPS_pubpropertyBuiltIn

Determines whether this command bar is a custom command bar or a built-in command bar.

System_CAPS_pubpropertyContext

Gets or sets the location where the command bar is saved. Always returns the empty string.

System_CAPS_pubpropertyControls

The set of controls on this command bar.

System_CAPS_pubpropertyCreator

Gets the ID of the application.

System_CAPS_pubpropertyEnabled

Determines whether the command bar is enabled.

System_CAPS_pubpropertyHeight

Gets the height of the command bar.

System_CAPS_pubpropertyId

Gets the ID of the command bar.

System_CAPS_pubpropertyIndex

Gets the index of this command bar in the set of command bars.

System_CAPS_pubpropertyInstanceId

Gets the instance ID of the command bar.

System_CAPS_pubpropertyLeft

Gets the left coordinates. This property is deprecated.

System_CAPS_pubpropertyName

Gets or sets the non-localized name of the command bar.

System_CAPS_pubpropertyNameLocal

Gets or sets the localized name of the command bar.

System_CAPS_pubpropertyParent

Gets the parent of this command bar.

System_CAPS_pubpropertyPosition

Gets or sets the position of the command bar.

System_CAPS_pubpropertyProtection

Gets or sets the protection level of this command bar.

System_CAPS_pubpropertyRowIndex

Gets or sets the docking order of a command bar with respect to other command bars in the same docking area.

System_CAPS_pubpropertyTop

Gets the top. This property is deprecated.

System_CAPS_pubpropertyType

Gets or sets the type of command bar.

System_CAPS_pubpropertyVisible

Determines whether the command bar is visible.

System_CAPS_pubpropertyWidth

Gets the width of the command bar.

NameDescription
System_CAPS_pubmethodaccDoDefaultAction(Object)

Performs the default action. This method is deprecated.

System_CAPS_pubmethodaccHitTest(Int32, Int32)

Gets the object at the specified coordinates. This method is deprecated.

System_CAPS_pubmethodaccLocation(Int32, Int32, Int32, Int32, Object)

Gets the location of the control. This method is deprecated.

System_CAPS_pubmethodaccNavigate(Int32, Object)

Navigates to another object. This method is deprecated.

System_CAPS_pubmethodaccSelect(Int32, Object)

Selects an object. This method is deprecated.

System_CAPS_pubmethodDelete()

Deletes this command bar from the command bars collection.

System_CAPS_pubmethodFindControl(Object, Object, Object, Object, Object)

Returns a command bar control that matches the specified criteria.

System_CAPS_pubmethodReset()

Resets a built-in command bar to its default configuration.

System_CAPS_pubmethodShowPopup(Object, Object)

Displays the command bar as a shortcut menu at the specified coordinates or at the current mouse coordinates.

Return to top
Show:
© 2016 Microsoft