Share via


CommandBarButtonClass Members

Include Protected Members
Include Inherited Members

Reserved for internal use.

The CommandBarButtonClass type exposes the following members.

Properties

  Name Description
Public property accChild
Public property accChildCount
Public property accDefaultAction
Public property accDescription
Public property accFocus
Public property accHelp
Public property accHelpTopic
Public property accKeyboardShortcut
Public property accName
Public property accParent
Public property accRole
Public property accSelection
Public property accState
Public property accValue
Public property Application
Public property BeginGroup
Public property BuiltIn
Public property BuiltInFace Is True if the face of a command bar button control is its original built-in face. Read/write.
Public property Caption
Public property Control
Public property Creator
Public property DescriptionText
Public property Enabled
Public property FaceId Gets or sets the Id number for the face of a CommandBarButton control. Read/write.
Public property Height
Public property HelpContextId
Public property HelpFile
Public property HyperlinkType Sets or gets a MsoCommandBarButtonHyperlinkType constant that represents the type of hyperlink associated with the specified command bar button. Read/write.
Public property Id
Public property Index
Public property InstanceId
Public property InstanceIdPtr
Public property IsPriorityDropped
Public property Left
Public property Mask Gets or sets an IPictureDisp object representing the mask image of a CommandBarButton object. The mask image determines what parts of the button image are transparent. Read/write.
Public property OLEUsage
Public property OnAction
Public property Parameter
Public property Parent
Public property Picture Gets or sets an IPictureDisp object representing the image of a CommandBarButton object. Read/write.
Public property Priority
Public property ShortcutText Gets or sets the shortcut key text displayed next to a CommandBarButton control when the button appears on a menu, submenu, or shortcut menu. Read/write.
Public property State
Public property Style
Public property Tag
Public property TooltipText
Public property Top
Public property Type
Public property Visible
Public property Width

Top

Methods

  Name Description
Public method accDoDefaultAction
Public method accHitTest
Public method accLocation
Public method accNavigate
Public method accSelect
Public method add_Click
Public method Copy
Public method CopyFace Copies the face of a command bar button control to the Clipboard.
Public method Delete
Public method Equals (Inherited from Object.)
Public method Execute
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Move
Public method PasteFace Pastes the contents of the Clipboard onto a CommandBarButton.
Public method remove_Click
Public method Reserved1
Public method Reserved2
Public method Reserved3
Public method Reserved4
Public method Reserved5
Public method Reserved6
Public method Reserved7
Public method Reset
Public method SetFocus
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event Click

Top

See Also

Reference

CommandBarButtonClass Class

Microsoft.Office.Core Namespace