ContextMenuEventHandler Delegat

Definition

Stellt die Methode für die Behandlung der Routingereignisse ContextMenuOpening und ContextMenuClosing sowie gleichwertiger ContentElement-Ereignisse dar.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)

Parameter

sender
Object

Das Objekt, an das der Ereignishandler angefügt ist.The object where the event handler is attached.

e
ContextMenuEventArgs

Die Ereignisdaten.The event data.

Vererbung
ContextMenuEventHandler

Erweiterungsmethoden

GetMethodInfo(Delegate)

Ruft ein Objekt ab, das die Methode darstellt, die vom angegebenen Delegaten dargestellt wird.Gets an object that represents the method represented by the specified delegate.

Gilt für:

Siehe auch