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

ScrollBarBase.UIMode Property

Gets or sets whether scrollbars are optimized for desktop or touch applications.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v19.2.dll

Declaration

[Browsable(false)]
public static ScrollUIMode UIMode { get; set; }

Property Value

Type Description
ScrollUIMode

A ScrollUIMode enumeration value that specifies how scrollbars are displayed.

Available values:

Name Description
Default

The same as Desktop.

Desktop

Scroll bars optimized for desktop applications.

ScrollBarBase_DesktopUI

The scroll bar displays the arrow buttons. The auto-hide and auto-expand functionality are not supported.

Touch

Scroll bars optimized for touch applications.

ScrollBarBase_TouchUI

The scroll bar supports the auto-hide functionality. It automatically appears when an end-user flicks the scrollable content (or the mouse cursor moves over the control), and disappears if the control is not scrolled (or the mouse cursor does not move) for some time. The arrow buttons are never displayed.

Fluent

Scroll bars optimized for Fluent Design Forms.

ScrollBarBase_Fluent

The scroll bar supports the auto-expand functionality. It automatically expands when an end-user flicks the scrollable content (or the mouse cursor moves over the control), and collapses to a thin stripe if the control is not scrolled (or the mouse cursor does not move) for some time. The arrow buttons are never displayed.

Remarks

See the WindowsFormsSettings.ScrollUIMode static (Shared in VB) property, which is equivalent to the current property, for more information.

See Also