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

ShowScrollBar Enum

Contains values that specify the visibility states for a gallery’s vertical scroll bar.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v19.1.dll


public enum ShowScrollBar


Name Description

A gallery’s vertical scroll bar is always visible. The scroll bar is only enabled when scrolling is required. Otherwise, it’s disabled.

A gallery’s vertical scroll bar is always hidden.

A gallery’s vertical scroll bar is only visible when all gallery items do not fit into the gallery’s visible area entirely.

Related API Members

The following properties accept/return ShowScrollBar values:


To control the visibility of a gallery’s scroll bar, use the StandaloneGallery.ShowScrollBar property.

See Also