_CommandBarButtonEvents_ClickEventHandler delegate
Office 2013 and later
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)
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: