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

GridView.VertScrollVisibility Property

Gets or sets a value specifying when the View’s vertical scrollbar is visible.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

[DefaultValue(ScrollVisibility.Auto)]
[XtraSerializableProperty]
[DXCategory("Behavior")]
public ScrollVisibility VertScrollVisibility { get; set; }

Property Value

Type Default Description
ScrollVisibility **Auto**

A ScrollVisibility enumeration value specifying when the vertical scrollbar is visible.

Available values:

Name Description
Never

The scrolling element is invisible regardless of whether data scrolling can be performed.

Always

The scrolling element is always visible.

Auto

The scrolling element is visible only when data scrolling can be performed.

Remarks

If this property value is ScrollVisibility.Never, the View’s vertical scrollbar is invisible. In this case, end-users can use the mouse wheel, keyboard or the embedded data navigator to scroll the View vertically.

The following code snippets (auto-collected from DevExpress Examples) contain references to the VertScrollVisibility property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also