Compartilhar via


Mouse.AddQueryCursorHandler(DependencyObject, QueryCursorEventHandler) Método

Definição

Adiciona um manipulador ao evento anexado QueryCursor.

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

Parâmetros

element
DependencyObject

O UIElement ou ContentElement que escuta esse evento.

handler
QueryCursorEventHandler

O manipulador de eventos.

Aplica-se a