Skip to main content

XtraScrollableControl.Scroll Event

Fires when the control’s view is scrolled.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v23.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