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

StandaloneGallery.ShowScrollBar Property

Gets or sets whether the gallery’s vertical scroll bar is visible.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[DefaultValue(ShowScrollBar.Show)]
[DXCategory("Appearance")]
public ShowScrollBar ShowScrollBar { get; set; }

Property Value

Type Default Description
ShowScrollBar **Show**

A ShowScrollBar value that specifies the visibility of the gallery’s vertical scroll bar.

Available values:

Name Description
Show

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

Hide

A gallery’s vertical scroll bar is always hidden.

Auto

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

See Also