Skip to main content
Tab

ScrollBarMode Enum

Lists values that specify the display mode of a scroll bar.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public enum ScrollBarMode

Members

Name Description
Hidden

The scrollbar is hidden.

Visible

The scrollbar is visible.

Auto

The scrollbar is automatically shown when the size of the control content exceeds the size of the control itself.

Remarks

The ScrollBarMode enumerator contains values specifying the display mode of scroll bars within the ASPxGridView, ASPxCardView, ASPxTreeList and ASPxPivotGrid controls.

The following table lists controls and appropriate properties to set the scroll bar’s display mode.

DevExpress Component

Property

ASPxGridView

ASPxGridSettings.HorizontalScrollBarMode, ASPxGridSettings.VerticalScrollBarMode

Note

Setting these properties to ScrollBarMode.Auto and ScrollBarMode.Auto enables the ASPxGridView’s scrolling functionality and the grid is rendered as a table with fixed layout.

ASPxTreeList

TreeListSettings.HorizontalScrollBarMode, TreeListSettings.VerticalScrollBarMode

ASPxPivotGrid

PivotGridWebOptionsView.HorizontalScrollingMode, PivotGridWebOptionsView.VerticalScrollingMode

See Also