MouseWheelZoomModifier
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
MouseWheelZoomModifier
public MouseWheelZoomModifier()
mouseWheelZoomModifier = MouseWheelZoomModifier()
Initializes a new instance of the MouseWheelZoomModifier class.
Properties
ActionType
public ActionType ActionType { get; set; }
value = mouseWheelZoomModifier.ActionType
mouseWheelZoomModifier.ActionType = value
Gets or sets the ActionType to perform on mouse-wheel interaction
Methods
OnModifierMouseWheel
public override void OnModifierMouseWheel(ModifierMouseArgs e)
mouseWheelZoomModifier.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 = MouseWheelZoomModifier.ActionTypeProperty
Defines the ActionType DependencyProperty