Skip to main content
Tab

ASPxGridViewSettings.ShowVerticalScrollBar Property

OBSOLETE

Use the Settings.VerticalScrollBarMode property instead.

Gets or sets whether the vertical scrollbar is displayed.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
[Obsolete("Use the Settings.VerticalScrollBarMode property instead.")]
public bool ShowVerticalScrollBar { get; set; }

Property Value

Type Default Description
Boolean false

true, to display the vertical scrollbar; otherwise, false

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowVerticalScrollBar
ASPxGridView
.Settings .ShowVerticalScrollBar
GridViewProperties
.Settings .ShowVerticalScrollBar

Remarks

By default, the ASPxGridView’s height is dependent on the number of rows displayed within a page. The maximum number of rows that can be displayed on a page is specified by the ASPxGridViewPagerSettings.PageSize property.

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 ShowVerticalScrollBar property. The scrollable area’s height is specified by the ASPxGridSettings.VerticalScrollableHeight property.

Note

When scrolling is enabled, width dimension properties (such as the grid’s ASPxWebControl.Width, its columns’ WebColumnBase.Width, etc.) should be specified. To learn more, see the ASPxGridView Fixed Table Layout Specifics (Scrolling and Column Resizing) topic.

See Also