Skip to main content

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.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

[DefaultValue(ScrollVisibility.Auto)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
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.

See Also