PinchZoomModifier

StockSharp.Xaml.Charting.ChartModifiers

The PinchZoomModifier provides zooming of the UltrachartSurface with the pinch gesture

Inherits: RelativeZoomModifierBase

Constructors

PinchZoomModifier
public PinchZoomModifier()
pinchZoomModifier = PinchZoomModifier()

Initializes a new instance of the PinchZoomModifier class.

Properties

IsDragging
public bool IsDragging { get; }
value = pinchZoomModifier.IsDragging

If True, Dragging is in progress

IsUniform
public bool IsUniform { get; set; }
value = pinchZoomModifier.IsUniform
pinchZoomModifier.IsUniform = value

Gets or sets the value of IsUniform property, showing whether the aspect of the chart is preserved while zooming in or out.

Methods

OnModifierTouchDown
public override void OnModifierTouchDown(ModifierTouchManipulationArgs e)
pinchZoomModifier.OnModifierTouchDown(e)

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

e
Arguments detailing the manipulation operation
OnModifierTouchMove
public override void OnModifierTouchMove(ModifierTouchManipulationArgs e)
pinchZoomModifier.OnModifierTouchMove(e)

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

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

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

e
Arguments detailing the manipulation operation
PerformZoom
protected override void PerformZoom(Point mousePoint, double xValue, double yValue)
pinchZoomModifier.PerformZoom(mousePoint, xValue, yValue)

Performs a zoom around the by the specified X and Y factor

mousePoint
The mouse point.
xValue
The x zoom factor.
yValue
The y zoom factor.