Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#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