Back to Devexpress

TdxChartMouseWheelAction.ModifierKeys Property

vcl-dxchartcore-dot-tdxchartmousewheelaction.md

latest2.5 KB
Original Source

TdxChartMouseWheelAction.ModifierKeys Property

Specifies modifier keys required to execute the mouse action in addition to mouse wheel rotation.

Declaration

delphi
property ModifierKeys: TdxModifierKeys read; write;

Property Value

TypeDescription
TdxModifierKeys

The set of modifier keys required to execute the mouse action in addition to mouse wheel rotation.

|

Remarks

Use the ModifierKeys property to define what modifier keys a user needs to hold down while rotating the mouse wheel. This property is particularly useful when you need to differentiate similar mouse actions (zoom and scroll operations, for example).

Property Values

The ModifierKeys property accepts a set of the following flags in any combination:

FlagDescription
TdxModifierKey.AltUsers need to rotate the mouse wheel while holding down the Alt modifier key to execute the mouse action.
TdxModifierKey.CtrlUsers need to rotate the mouse wheel while holding down the Ctrl modifier key to execute the mouse action.
TdxModifierKey.ShiftUsers need to rotate the mouse wheel while holding down the Shift modifier key to execute the mouse action.

Note

TdxModifierKey is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxModifierKey.Ctrl (in Delphi) or TdxModifierKey::Ctrl (in C++Builder) to refer to the Ctrl value in code.

Default Value

The ModifierKeys property’s default value depends on the mouse wheel action type:

ScrollThe default value is [] (no modifier key is required).ZoomThe default value is [TdxModifierKey.Ctrl] (only the Ctrl modifier key is required). See Also

TdxChartMouseWheelAction.Enabled Property

TdxChartMouseAction.ModifierKeys Property

TdxChartMouseWheelAction Class

TdxChartMouseWheelAction Members

dxChartCore Unit