_CommandBarButton Interface

 

Represents a command bar button.

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

[GuidAttribute("E11C7CE2-8641-4183-9458-309C6A201CDD")]
[TypeLibTypeAttribute(4304)]
public interface _CommandBarButton : CommandBarControl

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. 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_pubpropertyApplication

Gets the DTE object.

System_CAPS_pubpropertyBeginGroup

Determines whether this control is the first in its group.

System_CAPS_pubpropertyBuiltIn

Determines whether this control is a custom control or a built-in control.

System_CAPS_pubpropertyBuiltInFace

The built-in image. This property is deprecated.

System_CAPS_pubpropertyCaption

Gets the caption of the control.

System_CAPS_pubpropertyControl

Gets the control itself.

System_CAPS_pubpropertyCreator

Gets the ID of the application.

System_CAPS_pubpropertyDescriptionText

Always returns the empty string.

System_CAPS_pubpropertyEnabled

Determines whether the control is enabled.

System_CAPS_pubpropertyFaceId

This property is deprecated.

System_CAPS_pubpropertyHeight

Gets the height of the button.

System_CAPS_pubpropertyHelpContextId

Gets the help context ID. Always returns 0.

System_CAPS_pubpropertyHelpFile

Always returns the empty string.

System_CAPS_pubpropertyHyperlinkType

Gets the hyperlink type. This property is deprecated.

System_CAPS_pubpropertyId

Gets the identifier of the button.

System_CAPS_pubpropertyIndex

Gets the index of this control in the set of controls on the command bar.

System_CAPS_pubpropertyInstanceId

Gets the instance ID of this control.

System_CAPS_pubpropertyIsPriorityDropped

Determines whether the priority has been lowered. Always returns false.

System_CAPS_pubpropertyLeft

Gets the left coordinates. This property is deprecated.

System_CAPS_pubpropertyMask

Gets the mask. This property is deprecated.

System_CAPS_pubpropertyOLEUsage

Gets or sets the OLE usage. This property is deprecated.

System_CAPS_pubpropertyOnAction

Gets or sets the OnAction string.

System_CAPS_pubpropertyParameter

Gets or sets the parameter that is used with the command.

System_CAPS_pubpropertyParent

Gets the parent command bar.

System_CAPS_pubpropertyPicture

Gets or sets the icon that appears on the button.

System_CAPS_pubpropertyPriority

Gets the priority. Always returns 1.

System_CAPS_pubpropertyShortcutText

Gets or sets the shortcut text. This property is deprecated.

System_CAPS_pubpropertyState

Gets or sets the state. This property is deprecated.

System_CAPS_pubpropertyStyle

Gets or sets the button style.

System_CAPS_pubpropertyTag

Gets or sets the tag. Not used in Visual Studio.

System_CAPS_pubpropertyTooltipText

Gets or sets the tooltip text.

System_CAPS_pubpropertyTop

Gets the top. This property is deprecated.

System_CAPS_pubpropertyType

Gets the type of the control.

System_CAPS_pubpropertyVisible

Determines whether this control is visible.

System_CAPS_pubpropertyWidth

Gets or sets the width of the control.

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_pubmethodCopy(Object, Object)

Copies this control to the specified position on the specified command bar.

System_CAPS_pubmethodCopyFace()

Copies the image. This method is deprecated.

System_CAPS_pubmethodDelete(Object)

Removes this control from the collection.

System_CAPS_pubmethodExecute()

Performs the action of this control.

System_CAPS_pubmethodMove(Object, Object)

Moves this control to the specified command bar at the specified position.

System_CAPS_pubmethodPasteFace()

Pastes the image. This method is deprecated.

System_CAPS_pubmethodReserved1()

Reserved.

System_CAPS_pubmethodReserved2()

Reserved.

System_CAPS_pubmethodReserved3()

Reserved.

System_CAPS_pubmethodReserved4()

Reserved.

System_CAPS_pubmethodReserved5()

Reserved.

System_CAPS_pubmethodReserved6()

Reserved.

System_CAPS_pubmethodReserved7()

Reserved.

System_CAPS_pubmethodReset()

Resets the button.

System_CAPS_pubmethodSetFocus()

Sets the focus.

Return to top
Show: