ContextMenuEventHandler Delegate

Definition

Représente la méthode qui gère les événements routés ContextMenuOpening et ContextMenuClosing, ainsi que les événements ContentElement équivalents.Represents the method that will handle the ContextMenuOpening and ContextMenuClosing routed events, as well as equivalent ContentElement events.

public delegate void ContextMenuEventHandler(System::Object ^ sender, ContextMenuEventArgs ^ e);
public delegate void ContextMenuEventHandler(object sender, ContextMenuEventArgs e);
type ContextMenuEventHandler = delegate of obj * ContextMenuEventArgs -> unit
Public Delegate Sub ContextMenuEventHandler(sender As Object, e As ContextMenuEventArgs)

Parameters

sender
Object

Objet où le gestionnaire d’événements est attaché.The object where the event handler is attached.

e
ContextMenuEventArgs

Données d'événement.The event data.

Inheritance
ContextMenuEventHandler

Extension Methods

GetMethodInfo(Delegate)

Obtient un objet qui représente la méthode représentée par le délégué spécifié.Gets an object that represents the method represented by the specified delegate.

Applies to

See also