Skip to main content

StandaloneGallery.ShowScrollBar Property

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

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v24.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