Compartir vía


Mouse.AddQueryCursorHandler(DependencyObject, QueryCursorEventHandler) Método

Definición

Agrega un controlador para el evento adjunto 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

Objeto UIElement o ContentElement que escucha este evento.

handler
QueryCursorEventHandler

Controlador de eventos.

Se aplica a