Compartir vía


ContextMenuService.RemoveContextMenuClosingHandler Método

Definición

Quita un controlador del evento adjunto ContextMenuClosing.

public:
 static void RemoveContextMenuClosingHandler(System::Windows::DependencyObject ^ element, System::Windows::Controls::ContextMenuEventHandler ^ handler);
public static void RemoveContextMenuClosingHandler (System.Windows.DependencyObject element, System.Windows.Controls.ContextMenuEventHandler handler);
static member RemoveContextMenuClosingHandler : System.Windows.DependencyObject * System.Windows.Controls.ContextMenuEventHandler -> unit
Public Shared Sub RemoveContextMenuClosingHandler (element As DependencyObject, handler As ContextMenuEventHandler)

Parámetros

element
DependencyObject

Objeto UIElement o ContentElement que escucha este evento.

handler
ContextMenuEventHandler

Controlador de eventos que se va a quitar.

Se aplica a