_CommandBarButtonEvents_ClickEventHandler Délégué
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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