Back to Devexpress

ScrollBarMode Enum

windowsforms-devexpress-dot-xtrabars-dot-navigation-7ceeaf01.md

latest2.4 KB
Original Source

ScrollBarMode Enum

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

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public enum ScrollBarMode
vb
Public Enum ScrollBarMode

Members

NameDescription
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.

|

The following properties accept/return ScrollBarMode values:

See Also

ScrollBarMode

DevExpress.XtraBars.Navigation Namespace