A newer version of this page is available. Switch to the current version.

WindowsFormsSettings.ScrollUIMode Property

Gets or sets whether scrollbars are optimized for desktop or touch applications. This is a static (Shared in VB) property.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v19.1.dll


public static ScrollUIMode ScrollUIMode { get; set; }
Public Shared Property ScrollUIMode As ScrollUIMode

Property Value

Type Description

A ScrollUIMode enumeration value that specifies how scroll bars are displayed.


Specify the ScrollUIMode property before your application window is initialized.

static class Program {
    /// <summary>
    /// The main entry point for the application.
    /// </summary>
    static void Main() {
        WindowsFormsSettings.ScrollUIMode = ScrollUIMode.Fluent;
        Application.Run(new Form1());

To specify the UI mode for a particular scroll bar, use the ScrollBarBase.ApplyUIMode method.

See Also