Collapse the table of content
Expand the table of content
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

_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)

public delegate void _CommandBarButtonEvents_ClickEventHandler(
	CommandBarButton Ctrl,
	out bool CancelDefault


Type: Microsoft.Office.Core.CommandBarButton

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

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.

© 2015 Microsoft