Condividi tramite


Mouse.AddMouseWheelHandler(DependencyObject, MouseWheelEventHandler) Metodo

Definizione

Aggiunge un gestore per l'evento associato 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)

Parametri

element
DependencyObject

Oggetto UIElement o ContentElement in ascolto su questo evento.

handler
MouseWheelEventHandler

Gestore eventi.

Si applica a