vcl-cxlookandfeels-12c64071.md
Enumerates different scrollbar modes for DevExpress controls (TcxControl and TdxVCLControl descendants).
TdxScrollbarMode = (
sbmDefault,
sbmTouch,
sbmClassic,
sbmHybrid
);
| Name | Description |
|---|---|
sbmDefault |
Enables the default scrollbar mode.
|
| sbmTouch |
Enables touch-friendly scrollbars that automatically hide when not in use.
|
| sbmClassic |
Enables classic scrollbars found in desktop Windows applications.
|
| sbmHybrid |
Enables hybrid scrollbars similar to those found in Universal Windows Platform (UWP) applications.
|
Options include:
|
Value
|
Description
|
Example
| | --- | --- | --- | |
sbmDefault
|
In this mode, the global scrollbar setting (that is, the root look & feel‘s ScrollbarMode property) determines if a control uses touch-friendly, hybrid, or classic scrollbars. If the global scrollbar mode is also sbmDefault , the cxDefaultIsTouchScrollUIModeEnabled global constant determines which type of scrollbars the control uses.
|
| |
sbmTouch
|
Touch-friendly scrollbar mode is enabled explicitly. Scrollbar buttons never appear in this mode, and the horizontal or vertical scrollbar thumb becomes visible only if the mouse pointer hovers over a control or scrolls through its content. Scroll thumbs disappear when the mouse pointer remains stationary or a user does not scroll content for some time.
Note
This mode enables touch-friendly scrollbars for all DevExpress controls, except TcxTreeView, TcxListView, TcxShellTreeView and TcxShellListView. These controls support only Classic scrollbar mode.
|
| |
sbmClassic
|
Classic scrollbar mode is enabled explicitly. A control displays only classic scrollbars found in desktop Windows applications. The appearance of classic scrollbars depends on the selected skin, basic look & feel style, or Windows theme.
Note
All DevExpress controls support Classic scrollbar mode.
|
| |
sbmHybrid
|
Hybrid scrollbar mode is explicitly enabled. The appearance and behavior of scrollbar is similar to that found in Universal Windows Platform (UWP) applications running under Microsoft Windows® 10. This mode is a hybrid between classic and touch-friendly scrollbar modes. The scroll thumb behaves as in Touch-friendly mode but the scrollbar looks like a semi-transparent “classic” scrollbar with scroll buttons as long as the mouse pointer hovers over the thumb or its movement path.
Note
This mode enables hybrid scrollbars for all DevExpress controls, except for TcxImage, TdxPDFViewer, and TdxPSPreviewWindow. This enumeration value enables Touch-friendly scrollbar mode for the listed controls.
|
|
The following properties reference the TdxScrollbarMode type:
TcxLookAndFeel.ScrollbarModeSpecifies the active scrollbar mode at the level of an individual control.TcxCustomLookAndFeelController.ScrollbarModeSpecifies the default scrollbar mode for all DevExpress controls in an application. See Also