Back to Devexpress

ScrollStyleFlags Enum

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-174e9fcb.md

latest2.5 KB
Original Source

ScrollStyleFlags Enum

Lists values specifying a View’s scrollbar behavior.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[Flags]
public enum ScrollStyleFlags
vb
<Flags>
Public Enum ScrollStyleFlags

Members

NameDescription
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.

|

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

ScrollStyle

VertScrollTipFieldName

DevExpress.XtraGrid.Views.Grid Namespace