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

ScrollBarMode Enum

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public enum ScrollBarMode
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.

ASPxCardView

ASPxCardViewSettings.HorizontalScrollBarMode, ASPxCardViewSettings.VerticalScrollBarStyle

ASPxTreeList

TreeListSettings.HorizontalScrollBarMode, TreeListSettings.VerticalScrollBarMode

ASPxPivotGrid

PivotGridWebOptionsView.HorizontalScrollingMode, PivotGridWebOptionsView.VerticalScrollingMode

See Also