Redigera

Dela via


Mouse.RemoveQueryCursorHandler Method

Definition

Removes a handler for the QueryCursor attached event.

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)

Parameters

element
DependencyObject

The UIElement or ContentElement that listens to this event.

handler
QueryCursorEventHandler

The event handler.

Applies to