ModifierMouseArgs
StockSharp.Xaml.Charting.ChartModifiers
Defines a cross-platform Mouse event args, used by IChartModifier derived types to process mouse events
Inherits: ModifierEventArgsBase
Constructors
ModifierMouseArgs
public ModifierMouseArgs()
modifierMouseArgs = ModifierMouseArgs()
Initializes a new instance of the ModifierMouseArgs class.
ModifierMouseArgs
public ModifierMouseArgs(Point mousePoint, MouseButtons mouseButtons, MouseModifier modifier, bool isMaster, IReceiveMouseEvents master)
modifierMouseArgs = ModifierMouseArgs(mousePoint, mouseButtons, modifier, isMaster, master)
Initializes a new instance of the ModifierMouseArgs class.
- mousePoint
- The mouse point that this event occurred at relative to the RootGrid.
- mouseButtons
- The mouse buttons clicked.
- modifier
- The modifier key pressed.
- isMaster
- If True, then this mouse event occurred on a master ChartModifierBase. Used to process which modifier was the source of an event when multiple modifiers are linked
- master
- The instance of the master ChartModifierBase which sourced the event. Default value is null
ModifierMouseArgs
public ModifierMouseArgs(Point mousePoint, MouseButtons mouseButtons, MouseModifier modifier, int wheelDelta, bool isMaster, IReceiveMouseEvents master)
modifierMouseArgs = ModifierMouseArgs(mousePoint, mouseButtons, modifier, wheelDelta, isMaster, master)
Initializes a new instance of the ModifierMouseArgs class.
- mousePoint
- The mouse point that this event occurred at relative to the RootGrid.
- mouseButtons
- The mouse buttons clicked.
- modifier
- The modifier key pressed.
- wheelDelta
- The mouse wheel delta.
- isMaster
- If True, then this mouse event occurred on a master ChartModifierBase. Used to process which modifier was the source of an event when multiple modifiers are linked
- master
- The instance of the master ChartModifierBase which sourced the event. Default value is null
Properties
Delta
public int Delta { get; set; }
value = modifierMouseArgs.Delta
modifierMouseArgs.Delta = value
Gets or sets the mouse wheel delta
Modifier
public MouseModifier Modifier { get; set; }
value = modifierMouseArgs.Modifier
modifierMouseArgs.Modifier = value
Gets or sets the Modifier Key that was pressed at the time of the event
MouseButtons
public MouseButtons MouseButtons { get; set; }
value = modifierMouseArgs.MouseButtons
modifierMouseArgs.MouseButtons = value
Gets or sets the MouseButtons that were pressed at the time of the event
MousePoint
public Point MousePoint { get; set; }
value = modifierMouseArgs.MousePoint
modifierMouseArgs.MousePoint = value
Gets or sets the mouse point that this event occurred at