_CommandBarButtonEvents_ClickEventHandler Delegado

Definición

Tipo de delegado que se usa para agregar un controlador de eventos para el Click evento. El evento Click se produce cuando el usuario hace clic en un CommandBarButton objeto.

public delegate void _CommandBarButtonEvents_ClickEventHandler(CommandBarButton ^ Ctrl, [Runtime::InteropServices::Out] bool % CancelDefault);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void _CommandBarButtonEvents_ClickEventHandler(CommandBarButton Ctrl, out bool CancelDefault);
[<System.Runtime.InteropServices.ComVisible(false)>]
type _CommandBarButtonEvents_ClickEventHandler = delegate of CommandBarButton * bool -> unit
Public Delegate Sub _CommandBarButtonEvents_ClickEventHandler(Ctrl As CommandBarButton, ByRef CancelDefault As Boolean)

Parámetros

Ctrl
CommandBarButton

CommandBarButton obligatorio. Denota el control CommandBarButton que inició el evento.

CancelDefault
Boolean

Boolean obligatorio. False si se produce el comportamiento predeterminado asociado al control CommandBarButton , a menos que otro proceso o complemento lo cancele.

Atributos

Se aplica a