TdxScrollMode Enum
Enumerates scroll modes in DevExpress controls (TcxControl and TdxVCLControl descendant instances).
Declaration
TdxScrollMode = (
scmDefault,
scmClassic,
scmSmooth
);
Members
Name |
---|
scmDefault
|
scmClassic
|
scmSmooth
|
Remarks
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 | |
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:
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 TcxLookAndFeel.ScrollMode and TcxLookAndFeelController.ScrollMode properties reference the TdxScrollMode type.