ContextMenuService.RemoveContextMenuOpeningHandler Método

Definição

Remove um manipulador para o evento anexado 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

O UIElement ou ContentElement que escuta esse evento.

handler
ContextMenuEventHandler

O manipulador de eventos a ser removido.

Aplica-se a