ContextMenuOpeningEventHandler Délégué

Définition

Représente la méthode qui gère l’événement ContextMenuOpening qui existe sur plusieurs éléments d’interface utilisateur liés au texte.

public delegate void ContextMenuOpeningEventHandler(Platform::Object ^ sender, ContextMenuEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3751039313, 29788, 17478, 178, 252, 33, 109, 118, 88, 71, 160)]
class ContextMenuOpeningEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3751039313, 29788, 17478, 178, 252, 33, 109, 118, 88, 71, 160)]
public delegate void ContextMenuOpeningEventHandler(object sender, ContextMenuEventArgs e);
Public Delegate Sub ContextMenuOpeningEventHandler(sender As Object, e As ContextMenuEventArgs)

Paramètres

sender
Object

Platform::Object

IInspectable

Objet où le gestionnaire d’événements est attaché.

e
ContextMenuEventArgs

Données d'événement de l'événement.

Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)

S’applique à

Voir aussi