共用方式為


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

事件處理常式。

適用於