Επεξεργασία

Κοινή χρήση μέσω


DesignerView.OnPreviewMouseWheel(MouseWheelEventArgs) Method

Definition

Raises the PreviewMouseWheel event.

protected:
 override void OnPreviewMouseWheel(System::Windows::Input::MouseWheelEventArgs ^ e);
protected override void OnPreviewMouseWheel (System.Windows.Input.MouseWheelEventArgs e);
override this.OnPreviewMouseWheel : System.Windows.Input.MouseWheelEventArgs -> unit
Protected Overrides Sub OnPreviewMouseWheel (e As MouseWheelEventArgs)

Parameters

e
MouseWheelEventArgs

The MouseWheelEventArgs that contains the event data.

Remarks

This event is invoked when an unhandled PreviewMouseWheel attached event reaches an element in its route that is derived from this class. Override this method to add class handling for this event. If the CTRL key is pressed when this event is processed, the view is zoomed in or out, based on the movement of the mouse wheel.

Applies to