windowsforms-devexpress-dot-xtraeditors-e5489741.md
Contains data for the Scroll event.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.Utils.v25.2.dll
NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core
[ComVisible(true)]
public class XtraScrollEventArgs :
EventArgs
<ComVisible(True)>
Public Class XtraScrollEventArgs
Inherits EventArgs
XtraScrollEventArgs is the data class for the following events:
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.
Object EventArgs XtraScrollEventArgs
See Also