Export (0) Print
Expand All
Expand Minimize

_CommandBarButtonEvents_ClickEventHandler Delegate

A Delegate type used to add an event handler for the Click event. The Click event occurs when the user clicks a CommandBarButton object.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

[ComVisibleAttribute(false)]
public delegate void _CommandBarButtonEvents_ClickEventHandler(
	CommandBarButton Ctrl,
	out bool CancelDefault
)

Parameters

Ctrl
Type: Microsoft.Office.Core.CommandBarButton

Required CommandBarButton. Denotes the CommandBarButton control that initiated the event.

CancelDefault
Type: System.Boolean

Required Boolean. False if the default behavior associated with the CommandBarButton control occurs, unless it’s canceled by another process or add-in.

Show:
© 2015 Microsoft