ZoomExtentsModifier
Provides zoom to extents, or zoom to specific X and Y VisibleRange on mouse interaction
Inherits: ChartModifierBase
Constructors
public ZoomExtentsModifier()
zoomExtentsModifier = ZoomExtentsModifier()
Initializes a new instance of the ZoomExtentsModifier class.
Properties
public TimeSpan DoubleTapThreshold { get; set; }
value = zoomExtentsModifier.DoubleTapThreshold
zoomExtentsModifier.DoubleTapThreshold = value
Gets or sets maximum time between taps to be considered as double tap.
public bool IsAnimated { get; set; }
value = zoomExtentsModifier.IsAnimated
zoomExtentsModifier.IsAnimated = value
Gets or sets whether zoom operations should be animated. Default true
public XyDirection XyDirection { get; set; }
value = zoomExtentsModifier.XyDirection
zoomExtentsModifier.XyDirection = value
Defines the direction of the ZoomExtentsModifier
Methods
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
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
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
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
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
public static readonly DependencyProperty IsAnimatedProperty
value = ZoomExtentsModifier.IsAnimatedProperty
Defines the IsAnimated DependencyProperty
public static readonly DependencyProperty XyDirectionProperty
value = ZoomExtentsModifier.XyDirectionProperty
Defines the XyDirection dependency property