Tab

ASPxGridViewSettings.ShowVerticalScrollBar Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

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

Property Value

Type Default Description
Boolean

false

true, to display the vertical scrollbar; otherwise, false

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