DesignerView.OnPreviewMouseWheel Method

Raises the PreviewMouseWheel event.

Namespace:  System.Activities.Presentation.View
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

protected override void OnPreviewMouseWheel(
	MouseWheelEventArgs e


Type: System.Windows.Input.MouseWheelEventArgs

The MouseWheelEventArgs that contains the event data.

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.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft