Mouse.RemoveQueryCursorHandler 方法

定义

移除 QueryCursor 附加事件的处理程序。

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

参数

element
DependencyObject

侦听此事件的 UIElementContentElement

handler
QueryCursorEventHandler

事件处理程序。

适用于