DataViewBase.ScrollStep Property

Gets or sets the offset by which the View is scrolled when clicking scrollbar buttons. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.Core.dll

Declaration

public int ScrollStep { get; set; }
Public Property ScrollStep As Integer

Property Value

Type Description
Int32

An integer value that specifies the scrolling step, in pixels.

Remarks

  • In TableView:

    Use the ScrollStep property to specify the offset by which the View is horizontally scrolled when clicking scrollbar buttons.

  • In CardView:

    Use the ScrollStep property to specify the horizontal (if cards are arranged in rows) or vertical (if cards are arranged in columns) scrolling step, depending on the layout of cards.

Use the DataViewBase.WheelScrollLines property to specify the number of rows to scroll vertically in response to mouse wheel events.

See Also