DesignerView.OnPreviewMouseWheel Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Raises the PreviewMouseWheel event.

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

Syntax

'Declaration
Protected Overrides Sub OnPreviewMouseWheel ( _
    e As MouseWheelEventArgs _
)
'Usage
Dim e As MouseWheelEventArgs

Me.OnPreviewMouseWheel(e)
protected override void OnPreviewMouseWheel(
    MouseWheelEventArgs e
)
protected:
virtual void OnPreviewMouseWheel(
    MouseWheelEventArgs^ e
) override
protected override function OnPreviewMouseWheel(
    e : MouseWheelEventArgs
)
abstract OnPreviewMouseWheel : 
        e:MouseWheelEventArgs -> unit 
override OnPreviewMouseWheel : 
        e:MouseWheelEventArgs -> unit 

Parameters

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.

.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

DesignerView Class

DesignerView Members

System.Activities.Design.View Namespace