CommandBarControl Interface
Represents a control (button, combo box, dropdown, or other element) on a command bar.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
'宣告
<GuidAttribute("43FD5911-7BAC-4BDC-AB6C-2DE65B5C0233")> _
Public Interface CommandBarControl _
Inherits _IVsMsoOleAccDispObj
[GuidAttribute("43FD5911-7BAC-4BDC-AB6C-2DE65B5C0233")]
public interface CommandBarControl : _IVsMsoOleAccDispObj
The CommandBarControl type exposes the following members.
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. | |
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. | |
Application | Gets the DTE object. (Inherited from _IVsMsoOleAccDispObj.) | |
Application | Gets the DTE object. | |
BeginGroup | Determines whether this control is the first in its group. | |
BuiltIn | Determines whether this control is a custom control or a built-in control. | |
Caption | Gets or sets the caption of the control. | |
Control | Gets the control itself. | |
Creator | Gets the ID of the application. (Inherited from _IVsMsoOleAccDispObj.) | |
Creator | Gets the ID of the application. | |
DescriptionText | Always returns the empty string. | |
Enabled | Determines whether the control is enabled. | |
Height | Gets or sets the height of the control. | |
HelpContextId | Gets the help context ID. Always returns 0. | |
HelpFile | Always returns the empty string. | |
Id | Gets the ID of the control. | |
Index | Gets the index of this control in the set of controls on the command bar. | |
InstanceId | Gets the instance ID of this control. | |
IsPriorityDropped | Always returns false. | |
Left | Gets the left coordinates. This property is deprecated. | |
OLEUsage | Gets or sets the OLE usage. This property is deprecated. | |
OnAction | Gets or sets the OnAction string. | |
Parameter | Gets or sets the parameter that is used with the command. | |
Parent | Gets the parent command bar. | |
Priority | Gets the priority. Always returns 1. | |
Tag | Gets or sets the tag | |
TooltipText | Gets or sets the tooltip text. | |
Top | Gets the top. This property is deprecated. | |
Type | Gets the type of the control. | |
Visible | Determines whether this control is visible. | |
Width | Gets or sets the width of the control. |
Top
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. | |
Copy | Copies this control to the specified position on the specified command bar. | |
Delete | Removes this control from the collection. | |
Execute | Performs the action of this control. | |
Move | Moves this control to the specified command bar at the specified position. | |
Reserved1 | Reserved. | |
Reserved2 | Reserved. | |
Reserved3 | Reserved. | |
Reserved4 | Reserved. | |
Reserved5 | Reserved. | |
Reserved6 | Reserved. | |
Reserved7 | Reserved. | |
Reset | Resets the control. | |
SetFocus | Sets the focus on the control. |
Top