Compartir a través de


ContextMenuService.RemoveContextMenuOpeningHandler Método

Definición

Quita un controlador del evento adjunto ContextMenuOpening.

public:
 static void RemoveContextMenuOpeningHandler(System::Windows::DependencyObject ^ element, System::Windows::Controls::ContextMenuEventHandler ^ handler);
public static void RemoveContextMenuOpeningHandler (System.Windows.DependencyObject element, System.Windows.Controls.ContextMenuEventHandler handler);
static member RemoveContextMenuOpeningHandler : System.Windows.DependencyObject * System.Windows.Controls.ContextMenuEventHandler -> unit
Public Shared Sub RemoveContextMenuOpeningHandler (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