ZoomExtentsModifier

StockSharp.Xaml.Charting.ChartModifiers

Provides zoom to extents, or zoom to specific X and Y VisibleRange on mouse interaction

Inherits: ChartModifierBase

Constructors

ZoomExtentsModifier
public ZoomExtentsModifier()
zoomExtentsModifier = ZoomExtentsModifier()

Initializes a new instance of the ZoomExtentsModifier class.

Properties

DoubleTapThreshold
public TimeSpan DoubleTapThreshold { get; set; }
value = zoomExtentsModifier.DoubleTapThreshold
zoomExtentsModifier.DoubleTapThreshold = value

Gets or sets maximum time between taps to be considered as double tap.

IsAnimated
public bool IsAnimated { get; set; }
value = zoomExtentsModifier.IsAnimated
zoomExtentsModifier.IsAnimated = value

Gets or sets whether zoom operations should be animated. Default true

XyDirection
public XyDirection XyDirection { get; set; }
value = zoomExtentsModifier.XyDirection
zoomExtentsModifier.XyDirection = value

Defines the direction of the ZoomExtentsModifier

Methods

OnModifierDoubleClick
public override void OnModifierDoubleClick(ModifierMouseArgs e)
zoomExtentsModifier.OnModifierDoubleClick(e)

Called when a Mouse DoubleClick occurs on the parent UltrachartSurface

e
Arguments detailing the mouse button operation
OnModifierMouseUp
public override void OnModifierMouseUp(ModifierMouseArgs e)
zoomExtentsModifier.OnModifierMouseUp(e)

Called when a Mouse Button is released on the parent UltrachartSurface

e
Arguments detailing the mouse button operation
OnModifierTouchDown
public override void OnModifierTouchDown(ModifierTouchManipulationArgs e)
zoomExtentsModifier.OnModifierTouchDown(e)

Called when a Multi-Touch Down interaction occurs on the parent UltrachartSurface

e
Arguments detailing the manipulation operation
OnModifierTouchUp
public override void OnModifierTouchUp(ModifierTouchManipulationArgs e)
zoomExtentsModifier.OnModifierTouchUp(e)

Called when a Multi-Touch Up interaction occurs on the parent UltrachartSurface

e
Arguments detailing the manipulation operation
PerformZoom
protected virtual void PerformZoom()
zoomExtentsModifier.PerformZoom()

Performs the zoom function. Called when the user double clicks (right mouse up). May be overridden in derived classes to customize what the zoom actually does

Fields

IsAnimatedProperty
public static readonly DependencyProperty IsAnimatedProperty
value = ZoomExtentsModifier.IsAnimatedProperty

Defines the IsAnimated DependencyProperty

XyDirectionProperty
public static readonly DependencyProperty XyDirectionProperty
value = ZoomExtentsModifier.XyDirectionProperty

Defines the XyDirection dependency property