ContextMenuEventHandler ContextMenuEventHandler ContextMenuEventHandler ContextMenuEventHandler Delegate

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 Object Object Object

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

Herencia
ContextMenuEventHandlerContextMenuEventHandlerContextMenuEventHandlerContextMenuEventHandler

Métodos de extensión

GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate) 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: