InertialZoomPanModifier

StockSharp.Xaml.Charting.ChartModifiers

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

继承自: ZoomPanModifierBase

构造函数

InertialZoomPanModifier()

Initializes a new instance of the InertialZoomPanModifier class.

方法

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.
ResetInertia()

Instantly stops any inertia that can be associated with this modifier.