Skip to main content
A newer version of this page is available. .

cxDefaultIsTouchScrollUIModeEnabled Constant

Specifies the default state of the Touch-friendly scrollbar mode in DevExpress controls.

Declaration

const cxDefaultIsTouchScrollUIModeEnabled = False;

Remarks

All TcxControl and TdxVCLControl descendants (except for TcxTreeView, TcxListView, and their descendants) support the Touch-friendly scrollbar mode that is enabled by default:

If you prefer classic scrollbars in your application, you can customize the global look & feel scrollbar mode setting by assigning sbmClassic to the RootLookAndFeel.ScrollbarMode property at runtime. Alternatively, you can use the ScrollbarMode property of the TcxLookAndFeelController or TdxSkinController component at design-time or runtime.

To disable or enable the Touch-friendly scrollbars in a particular control, override the global scrollbar mode setting by setting the control’s LookAndFeel.ScrollbarMode to sbmClassic or sbmTouch, respectively.

The cxDefaultTouchScrollUIModeEnabled global constant is the default value of the deprecated TouchScrollUIMode property provided by the TcxLookAndFeelController and TdxSkinController components.

See Also