Aracılığıyla paylaş


Mouse.AddPreviewMouseWheelHandler Yöntem

Tanım

Ekli olay için PreviewMouseWheel bir işleyici ekler.

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

Parametreler

element
DependencyObject

UIElement Bu olayı dinleyen veyaContentElement.

handler
MouseWheelEventHandler

Olay işleyicisi.

Şunlara uygulanır