ZoomPanModifier

StockSharp.Xaml.Charting.ChartModifiers

The ZoomPanModifier provides a mouse drag to pan the X and Y axes. Add to a UltrachartSurface and set IsEnabled to true to enable this behaviour

Inherits: ZoomPanModifierBase

Constructors

ZoomPanModifier()

Initializes a new instance of the ZoomPanModifier class.

Methods

OnModifierMouseDown(ModifierMouseArgs)

Called when a Mouse Button is pressed on the parent UltrachartSurface

e
Arguments detailing the mouse button operation
OnModifierMouseUp(ModifierMouseArgs)

Called when a Mouse Button is released on the parent UltrachartSurface

e
Arguments detailing the mouse button operation
Pan(Point, Point, Point)

Receives zoom command from the user.

currentPoint
Current point of zoom gesture.
lastPoint
Previous point of zoom gesture.
startPoint
Start point of zoom gesture.