Sdílet prostřednictvím


Mouse.AddMouseWheelHandler(DependencyObject, MouseWheelEventHandler) Metoda

Definice

Přidá obslužnou rutinu pro připojenou MouseWheel událost.

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)

Parametry

element
DependencyObject

ContentElement NeboUIElement, který naslouchá této události.

handler
MouseWheelEventHandler

Obslužná rutina události.

Platí pro