Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ScrollStyleFlags Enum

Lists values specifying a View’s scrollbar behavior.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.2.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