Mouse.RemoveMouseWheelHandler Methode

Definition

Entfernt einen Handler für das angefügte MouseWheel-Ereignis.

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

Parameter

element
DependencyObject

Das UIElement oder das ContentElement, das dieses Ereignis überwacht.

handler
MouseWheelEventHandler

Der Ereignishandler.

Gilt für: