Back to Devexpress

XtraScrollableControl.Scroll Event

windowsforms-devexpress-dot-xtraeditors-dot-xtrascrollablecontrol-bb393add.md

latest2.3 KB
Original Source

XtraScrollableControl.Scroll Event

Fires when the control’s view is scrolled.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
[DXCategory("Events")]
public event XtraScrollEventHandler Scroll
vb
<DXCategory("Events")>
Public Event Scroll As XtraScrollEventHandler

Event Data

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

PropertyDescription
NewValueGets or sets a value that specifies the position of a scrollbar after scrolling.
OldValueGets the position of a scrollbar before scrolling.
ScrollOrientationGets the scrollbar orientation.
TypeGets 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

FireScrollEventOnMouseWheel

XtraScrollableControl Class

XtraScrollableControl Members

DevExpress.XtraEditors Namespace