Skip to main content
A newer version of this page is available. .

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.v19.1.Core.dll

Declaration

public int ScrollStep { get; set; }

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