ContextMenuEventHandler Delegado

Definición

Representa el método que controlará los eventos enrutados ContextMenuOpening y ContextMenuClosing, así como los eventos ContentElement equivalentes.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)

Parámetros

sender
Object

Objeto en que está asociado el controlador de eventos.The object where the event handler is attached.

e
ContextMenuEventArgs

Datos del evento.The event data.

Herencia
ContextMenuEventHandler

Métodos de extensión

GetMethodInfo(Delegate)

Obtiene un objeto que representa el método representado por el delegado especificado.Gets an object that represents the method represented by the specified delegate.

Se aplica a

Consulte también: