ScrollStyleFlags Enum

Lists values specifying a View's scrollbar behavior.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[Flags]
public enum ScrollStyleFlags
<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.

Passed To

You can pass ScrollStyleFlags values to the GridView.ScrollStyle property.

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