Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ScrollBarMode Enum

Enumerates display modes for the vertical scroll bar in the AccordionControl.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public enum ScrollBarMode

#Members

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.

#Related API Members

The following properties accept/return ScrollBarMode values:

See Also