GridView.ScrollStyle Property
Gets or sets a value specifying the behavior of the View’s scrollbars.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v24.2.dll
Declaration
[DXCategory("Behavior")]
[XtraSerializableProperty]
public ScrollStyleFlags ScrollStyle { get; set; }
Property Value
Type | Description |
---|---|
ScrollStyleFlags | A bitwise combination of ScrollStyleFlags enumeration values that specifies the scrollbars behavior. |
Available values:
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. |