Edytuj

Udostępnij za pośrednictwem


CommandBarButtonClass Class

Definition

Reserved for internal use.

public ref class CommandBarButtonClass : Microsoft::Office::Core::CommandBarButton
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("55F88891-7708-11D1-ACEB-006008961DA5")]
public class CommandBarButtonClass : Microsoft.Office.Core.CommandBarButton
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.Guid("55F88891-7708-11D1-ACEB-006008961DA5")>]
type CommandBarButtonClass = class
    interface _CommandBarButton
    interface CommandBarButton
    interface _CommandBarButtonEvents_Event
Public Class CommandBarButtonClass
Implements CommandBarButton
Inheritance
CommandBarButtonClass
Attributes
Implements

Properties

accChild[Object]
accChildCount
accDefaultAction[Object]
accDescription[Object]
accFocus
accHelp[Object]
accHelpTopic[String, Object]
accKeyboardShortcut[Object]
accName[Object]
accParent
accRole[Object]
accSelection
accState[Object]
accValue[Object]
Application
BeginGroup
BuiltIn
BuiltInFace

Is True if the face of a command bar button control is its original built-in face. Read/write.

Caption
Control
Creator
DescriptionText
Enabled
FaceId

Gets or sets the Id number for the face of a CommandBarButton control. Read/write.

Height
HelpContextId
HelpFile
HyperlinkType

Sets or gets a MsoCommandBarButtonHyperlinkType constant that represents the type of hyperlink associated with the specified command bar button. Read/write.

Id
Index
InstanceId
InstanceIdPtr
IsPriorityDropped
Left
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.

OLEUsage
OnAction
Parameter
Parent
Picture

Gets or sets an IPictureDisp object representing the image of a CommandBarButton object. Read/write.

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

State
Style
Tag
TooltipText
Top
Type
Visible
Width

Methods

accDoDefaultAction(Object)
accHitTest(Int32, Int32)
accLocation(Int32, Int32, Int32, Int32, Object)
accNavigate(Int32, Object)
accSelect(Int32, Object)
add_Click(_CommandBarButtonEvents_ClickEventHandler)
Copy(Object, Object)
CopyFace()

Copies the face of a command bar button control to the Clipboard.

Delete(Object)
Execute()
Move(Object, Object)
PasteFace()

Pastes the contents of the Clipboard onto a CommandBarButton.

remove_Click(_CommandBarButtonEvents_ClickEventHandler)
Reserved1()
Reserved2()
Reserved3()
Reserved4()
Reserved5()
Reserved6()
Reserved7()
Reset()
SetFocus()

Events

Click

Applies to