Skip to main content
All docs
V24.2

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

XtraScrollEventArgs Class

Contains data for the Scroll event.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

[ComVisible(true)]
public class XtraScrollEventArgs :
    EventArgs

#Remarks

The XtraScrollableControl raises the Scroll event when a user scrolls its content. The Scroll event fires when the user clicks a scrollbar arrow, presses the Up or Down Arrow keys, or drags the scroll box.

The ScrollEventArgs class introduces properties that allow you to obtain the type of scrolling that raised the event (Type), the previous and new position of the scrollbar (OldValue, NewValue), and the orientation of the scrollbar (ScrollOrientation).

Use the NewValue value to implement custom scrolling based on a condition.

#Inheritance

Object
EventArgs
XtraScrollEventArgs
See Also