windowsforms-devexpress-dot-xtraeditors-dot-xtrascrollablecontrol-bb393add.md
Fires when the control’s view is scrolled.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.Utils.v25.2.dll
NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core
[DXCategory("Events")]
public event XtraScrollEventHandler Scroll
<DXCategory("Events")>
Public Event Scroll As XtraScrollEventHandler
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. |
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