ContextMenuService.RemoveContextMenuClosingHandler 메서드

정의

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)

매개 변수

element
DependencyObject

이 이벤트를 수신 대기하는 UIElement 또는 ContentElement입니다.

handler
ContextMenuEventHandler

제거할 이벤트 처리기입니다.

적용 대상