WheelBehavior

StockSharp.Xaml.Diagram.GXDiagram.Tool

This enumeration controls the behavior of the mouse wheel by StandardMouseWheel.

Fields

ControlZooms
public const WheelBehavior ControlZooms
value = WheelBehavior.ControlZooms

When there is only a Control key modifier, mouse wheel events zoom in and out.

None
public const WheelBehavior None
value = WheelBehavior.None

When WheelBehavior is "None", mouse wheel events are ignored.

ScrollsVertically
public const WheelBehavior ScrollsVertically
value = WheelBehavior.ScrollsVertically

When there is no modifier, mouse wheel events scroll the diagram up and down.

ShiftScrollsHorizontally
public const WheelBehavior ShiftScrollsHorizontally
value = WheelBehavior.ShiftScrollsHorizontally

When there is only a Shift key modifier, mouse wheel events scroll the diagram left and right.

Standard
public const WheelBehavior Standard
value = WheelBehavior.Standard

This combination of flags represents the default value for WheelBehavior: ScrollsVertically, ControlZooms, and ShiftScrollsHorizontally.

Zooms
public const WheelBehavior Zooms
value = WheelBehavior.Zooms

When there is no modifier, mouse wheel events zoom in and out.