Skip to main content

ScrollStyleFlags Enum

Lists values specifying a View’s scrollbar behavior.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

[Flags]
public enum ScrollStyleFlags

Members

Name Description
None

If active, disables all other options.

LiveVertScroll

If active, the View is scrolled simultaneously with changing its vertical scrollbar’s position. Otherwise, the actual View scrolling takes place only when the scrollbar’s thumb is released.

When this option is disabled, you can enable the vertical scrollbar’s tooltip. The tooltip’s text allows end-users to identify the row corresponding to the current scrollbar’s position. If the current scrollbar’s position corresponds to a group row, the group row’s text is displayed by the tooltip. If the target row is a data row, the tooltip displays a value from this row’s particular field. The field is specified by the GridView.VertScrollTipFieldName property.

LiveHorzScroll

If active, the View is scrolled simultaneously with changing its horizontal scrollbar’s position. Otherwise, the actual View scrolling takes place only when the scrollbar’s thumb is released.

Related API Members

The following properties accept/return ScrollStyleFlags values:

Remarks

Values listed by this enumeration are used to set a Grid View’s GridView.ScrollStyle property. Note that the enumeration allows bitwise combination of its values. Thus, several options can be enabled simultaneously.

See Also