TimeframeSegmentWheelModifier

StockSharp.Xaml.Charting.ChartModifiers

The MouseWheelZoomModifier provides zooming (or shrinking) of the UltrachartSurface on mouse wheel scroll Add to a UltrachartSurface and set IsEnabled to true to enable this behaviour

Inherits: RelativeZoomModifierBase

Constructors

TimeframeSegmentWheelModifier
public TimeframeSegmentWheelModifier()
timeframeSegmentWheelModifier = TimeframeSegmentWheelModifier()

Initializes a new instance of the MouseWheelZoomModifier class.

Properties

ActionType
public ActionType ActionType { get; set; }
value = timeframeSegmentWheelModifier.ActionType
timeframeSegmentWheelModifier.ActionType = value

Gets or sets the ActionType to perform on mouse-wheel interaction

Methods

OnModifierMouseWheel
public override void OnModifierMouseWheel(ModifierMouseArgs e)
timeframeSegmentWheelModifier.OnModifierMouseWheel(e)

Called when the Mouse Wheel is scrolled on the parent UltrachartSurface

e
Arguments detailing the mouse wheel operation

Fields

ActionTypeProperty
public static readonly DependencyProperty ActionTypeProperty
value = TimeframeSegmentWheelModifier.ActionTypeProperty

Defines the ActionType DependencyProperty