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

XtraScrollableControl.Scroll Event

Fires when the control’s view is scrolled.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.2.dll

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

#Declaration

[DXCategory("Events")]
public event XtraScrollEventHandler Scroll

#Event Data

The Scroll event's data class is XtraScrollEventArgs. The following properties provide information specific to this event:

Property Description
NewValue Gets or sets a value that specifies the position of a scrollbar after scrolling.
OldValue Gets the position of a scrollbar before scrolling.
ScrollOrientation Gets the scrollbar orientation.
Type Gets the scrolling type that raises the event.

#Remarks

The Scroll event is raised when the scrollable area has been scrolled by either a user, or in code.

To specify whether the Scroll event fires when the mouse wheel is rotated, use the XtraScrollableControl.FireScrollEventOnMouseWheel property.

See Also