ASPxGridViewSettings.ShowVerticalScrollBar Property

Obsolete. Gets or sets whether the vertical scrollbar is displayed.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll


[Obsolete("Use the Settings.VerticalScrollBarMode property instead.")]
public bool ShowVerticalScrollBar { get; set; }
<Obsolete("Use the Settings.VerticalScrollBarMode property instead.")>
Public Property ShowVerticalScrollBar As Boolean

Property Value

Type Default Description


true, to display the vertical scrollbar; otherwise, false


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.


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