WheelBehavior

StockSharp.Xaml.Diagram.GXDiagram.Tool

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

字段

ControlZooms : WheelBehavior

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

None : WheelBehavior

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

ScrollsVertically : WheelBehavior

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

ShiftScrollsHorizontally : WheelBehavior

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

Standard : WheelBehavior

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

Zooms : WheelBehavior

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