CommandBar Interface
Represents a command bar.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'Декларация
<GuidAttribute("D27B4DFE-351C-4AD4-9211-F49BEC19106D")> _
Public Interface CommandBar _
Inherits _IVsMsoOleAccDispObj
[GuidAttribute("D27B4DFE-351C-4AD4-9211-F49BEC19106D")]
public interface CommandBar : _IVsMsoOleAccDispObj
The CommandBar type exposes the following members.
Properties
Name | Description | |
---|---|---|
accChild[Object] | Gets the child. This property is deprecated. (Inherited from _IVsMsoOleAccDispObj.) | |
accChild[Object] | Gets the child. This property is deprecated. | |
accChildCount | Gets the number of children. This property is deprecated. (Inherited from _IVsMsoOleAccDispObj.) | |
accChildCount | Gets the number of children. This property is deprecated. | |
accDefaultAction[Object] | Gets the default action. This property is deprecated. (Inherited from _IVsMsoOleAccDispObj.) | |
accDefaultAction[Object] | Gets the default action. This property is deprecated. | |
accDescription[Object] | Gets the description. This property is deprecated. (Inherited from _IVsMsoOleAccDispObj.) | |
accDescription[Object] | Gets the description. This property is deprecated. | |
accFocus | Gets the focus. This property is deprecated. (Inherited from _IVsMsoOleAccDispObj.) | |
accFocus | Gets the focus. This property is deprecated. | |
accHelp[Object] | Gets the help string. This property is deprecated. (Inherited from _IVsMsoOleAccDispObj.) | |
accHelp[Object] | Gets the help string. This property is deprecated. | |
accHelpTopic[String%, Object] | Gets the help topic. This property is deprecated. (Inherited from _IVsMsoOleAccDispObj.) | |
accHelpTopic[String%, Object] | Gets the help topic. This property is deprecated. | |
accKeyboardShortcut[Object] | Gets the keyboard shortcut. This property is deprecated. (Inherited from _IVsMsoOleAccDispObj.) | |
accKeyboardShortcut[Object] | Gets the keyboard shortcut. This property is deprecated. | |
accName[Object] | Gets the name of the object. (Inherited from _IVsMsoOleAccDispObj.) | |
accName[Object] | Gets the name of the object. | |
accParent | Gets the parent. This property is deprecated. (Inherited from _IVsMsoOleAccDispObj.) | |
accParent | Gets the parent. This property is deprecated. | |
accRole[Object] | Gets the role. This property is deprecated. (Inherited from _IVsMsoOleAccDispObj.) | |
accRole[Object] | Gets the role. This property is deprecated. | |
accSelection | Gets the selection. This property is deprecated. (Inherited from _IVsMsoOleAccDispObj.) | |
accSelection | Gets the selection. This property is deprecated. | |
accState[Object] | Gets the state. This property is deprecated. (Inherited from _IVsMsoOleAccDispObj.) | |
accState[Object] | Gets the state. This property is deprecated. | |
accValue[Object] | Gets the value. This property is deprecated. (Inherited from _IVsMsoOleAccDispObj.) | |
accValue[Object] | Gets the value. This property is deprecated. | |
AdaptiveMenu | Determines whether menu commands appear and disappear based on usage. Always returns false. | |
Application | Gets the DTE object. (Inherited from _IVsMsoOleAccDispObj.) | |
Application | Gets the DTE object. | |
BuiltIn | Determines whether this command bar is a custom command bar or a built-in command bar. | |
Context | Gets or sets the location where the command bar is saved. Always returns the empty string. | |
Controls | The set of controls on this command bar. | |
Creator | Gets the ID of the application. (Inherited from _IVsMsoOleAccDispObj.) | |
Creator | Gets the ID of the application. | |
Enabled | Determines whether the command bar is enabled. | |
Height | Gets the height of the command bar. | |
Id | Gets the ID of the command bar. | |
Index | Gets the index of this command bar in the set of command bars. | |
InstanceId | Gets the instance ID of the command bar. | |
Left | Gets the left coordinates. This property is deprecated. | |
Name | Gets or sets the non-localized name of the command bar. | |
NameLocal | Gets or sets the localized name of the command bar. | |
Parent | Gets the parent of this command bar. | |
Position | Gets or sets the position of the command bar. | |
Protection | Gets or sets the protection level of this command bar. | |
RowIndex | Gets or sets the docking order of a command bar with respect to other command bars in the same docking area. | |
Top | Gets the top. This property is deprecated. | |
Type | Gets or sets the type of command bar. | |
Visible | Determines whether the command bar is visible. | |
Width | Gets the width of the command bar. |
Top
Methods
Name | Description | |
---|---|---|
accDoDefaultAction(Object) | Performs the default action. This method is deprecated. (Inherited from _IVsMsoOleAccDispObj.) | |
accDoDefaultAction(Object) | Performs the default action. This method is deprecated. | |
accHitTest(Int32, Int32) | Gets the object at the specified coordinates. This method is deprecated. (Inherited from _IVsMsoOleAccDispObj.) | |
accHitTest(Int32, Int32) | Gets the object at the specified coordinates. This method is deprecated. | |
accLocation(Int32%, Int32%, Int32%, Int32%, Object) | Gets the location of the control. This method is deprecated. (Inherited from _IVsMsoOleAccDispObj.) | |
accLocation(Int32%, Int32%, Int32%, Int32%, Object) | Gets the location of the control. This method is deprecated. | |
accNavigate(Int32, Object) | Navigates to another object. This method is deprecated. (Inherited from _IVsMsoOleAccDispObj.) | |
accNavigate(Int32, Object) | Navigates to another object. This method is deprecated. | |
accSelect(Int32, Object) | Selects an object. This method is deprecated. (Inherited from _IVsMsoOleAccDispObj.) | |
accSelect(Int32, Object) | Selects an object. This method is deprecated. | |
Delete | Deletes this command bar from the command bars collection. | |
FindControl | Returns a command bar control that matches the specified criteria. | |
Reset | Resets a built-in command bar to its default configuration. | |
ShowPopup | Displays the command bar as a shortcut menu at the specified coordinates or at the current mouse coordinates. |
Top