vcl-cxlookandfeels-b0081e2c.md
Enumerates scroll modes in DevExpress controls (TcxControl and TdxVCLControl descendant instances).
TdxScrollMode = (
scmDefault,
scmClassic,
scmSmooth
);
| Name |
|---|
scmDefault |
scmClassic |
scmSmooth |
Options include:
|
Value
|
Description
|
Example
| | --- | --- | --- | |
scmDefault
|
The global scroll mode setting (that is, the root look & feel‘s ScrollMode property) determines if a control enables classic or smooth scroll mode by default. If the global scroll mode is also scmDefault, the cxDefaultLookAndFeelScrollMode global constant determines the active scroll mode for the control.
|
| |
scmClassic
|
A control always scrolls its content discretely (by whole text lines, rows, or columns, for instance). The content position updates immediately, without a scroll animation.
|
| |
scmSmooth
|
A control plays a scroll animation when an end user:
Clicks above or below the scroll thumb, except for scroll buttons.
Rotates the mouse wheel.
Uses keyboard to move focus between distant content items.
A click on the scroll thumb while the control plays the scroll animation stops scrolling immediately. You can use the dxScrollAnimationTime global constant to adjust the scroll animation speed.
Note
If the control supports per-pixel scroll mode, this value enables it at the default scroll settings.
|
|
The following properties reference the TdxScrollMode type:
TcxLookAndFeel.ScrollModeSpecifies the active scroll mode at the level of an individual control.TcxLookAndFeelController.ScrollModeSpecifies the default scroll mode for all DevExpress controls in an application. See Also