_CommandBarButtonEvents_ClickEventHandler Délégué

Définition

Type De délégué utilisé pour ajouter un gestionnaire d’événements pour l’événement Click . L’événement Click se produit lorsque l’utilisateur clique sur un CommandBarButton objet.

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);
Public Delegate Sub _CommandBarButtonEvents_ClickEventHandler(Ctrl As CommandBarButton, ByRef CancelDefault As Boolean)

Paramètres

Ctrl
CommandBarButton

CommandBarButton requis. Indique le contrôle CommandBarButton qui a lancé l’événement.

CancelDefault
Boolean

Boolean obligatoire. False si le comportement par défaut associé au contrôle CommandBarButton se produit, sauf s’il est annulé par un autre processus ou complément.

Attributs

S’applique à