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

AccordionControl.ScrollBarMode Property

Gets or sets the vertical scroll bar’s visibility and style.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(ScrollBarMode.Default)]
public ScrollBarMode ScrollBarMode { get; set; }

Property Value

Type Default Description
ScrollBarMode **Default**

The vertical scroll bar’s visibility and style.

Available values:

Name Description
Touch

A touch-style vertical scroll bar is used. This scroll bar supports the auto-hide functionality.

Default

A standard vertical scroll bar is used by default. A touch-style scroll bar is used when the WindowsFormsSettings.ScrollUIMode is set to Touch. The touch-style scroll bar supports the auto-hide functionality.

Hidden

The scroll bar is hidden.

Auto

A scroll bar is displayed when the content height is greater than the control’s visible height. Otherwise, it is hidden.

AutoCollapse

Entirely collapses the scroll bar’s area when there is no need to display the scroll bar. It is recommended to use this mode only when the AccordionControl.AnimationType property is set to None.

Fluent

Scroll bars optimized for Fluent Design Forms. 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.

See Also