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

ASPxGridSettings.VerticalScrollBarMode Property

Gets or sets a value specifying the vertical scrollbar’s display mode.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(ScrollBarMode.Hidden)]
public ScrollBarMode VerticalScrollBarMode { get; set; }

Property Value

Type Default Description
ScrollBarMode **Hidden**

One of the ScrollBarMode enumeration values.

Available values:

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.

Property Paths

You can access this nested property as listed below:

Show 16 property paths
Library Object Type Path to VerticalScrollBarMode
ASP.NET Controls and MVC Extensions ASPxCardView
.Settings.VerticalScrollBarMode
ASPxGridView
.Settings.VerticalScrollBarMode
ASPxVerticalGrid
.Settings.VerticalScrollBarMode
GridViewProperties
.Settings.VerticalScrollBarMode
CardViewSettings
.Settings.VerticalScrollBarMode
CardViewSettings<CardType>
.Settings.VerticalScrollBarMode
GridViewSettings
.Settings.VerticalScrollBarMode
GridViewSettings<RowType>
.Settings.VerticalScrollBarMode
MVCxCardView
.Settings.VerticalScrollBarMode
MVCxGridView
.Settings.VerticalScrollBarMode
MVCxGridViewProperties
.Settings.VerticalScrollBarMode
MVCxVerticalGrid
.Settings.VerticalScrollBarMode
VerticalGridSettings
.Settings.VerticalScrollBarMode
VerticalGridSettings<ColumnType>
.Settings.VerticalScrollBarMode
ASP.NET Bootstrap Controls BootstrapCardView
.Settings.VerticalScrollBarMode
BootstrapGridView
.Settings.VerticalScrollBarMode

Remarks

By default, the grid height is dependent on the number of data items (row, card or record) displayed on a page. To reduce the grid’s height, you can display its vertical scrollbar and specify the height of the scrollable area, in pixels. The scrollbar’s visibility is specified by the VerticalScrollBarMode property. The scrollable area’s height is specified by the ASPxGridSettings.VerticalScrollableHeight property.

The horizontal scrollbar display mode can be specified via the ASPxGridSettings.HorizontalScrollBarMode

Note

See Also