Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DesignerView.OnPreviewMouseWheel Method (MouseWheelEventArgs)

.NET Framework (current version)
 

Raises the PreviewMouseWheel event.

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

protected override void OnPreviewMouseWheel(
	MouseWheelEventArgs e
)

Parameters

e
Type: System.Windows.Input.MouseWheelEventArgs

The MouseWheelEventArgs that contains the event data.

This event is invoked when an unhandled M:System.Windows.Input.Mouse.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
Available since 4.0
Return to top
Show:
© 2017 Microsoft