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.