Mouse.RemoveMouseMoveHandler(DependencyObject, MouseEventHandler) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
移除 MouseMove 附加事件的處理常式。
public:
static void RemoveMouseMoveHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::MouseEventHandler ^ handler);
public static void RemoveMouseMoveHandler (System.Windows.DependencyObject element, System.Windows.Input.MouseEventHandler handler);
static member RemoveMouseMoveHandler : System.Windows.DependencyObject * System.Windows.Input.MouseEventHandler -> unit
Public Shared Sub RemoveMouseMoveHandler (element As DependencyObject, handler As MouseEventHandler)
參數
- element
- DependencyObject
接聽這個事件的 UIElement 或 ContentElement。
- handler
- MouseEventHandler
事件處理常式。