Compartir a través de


Mouse.AddMouseWheelHandler(DependencyObject, MouseWheelEventHandler) Método

Definición

Agrega un controlador para el evento adjunto MouseWheel.

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

Parámetros

element
DependencyObject

Objeto UIElement o ContentElement que escucha este evento.

handler
MouseWheelEventHandler

Controlador de eventos.

Se aplica a