Back to Devexpress

XtraScrollEventArgs Class

windowsforms-devexpress-dot-xtraeditors-e5489741.md

latest2.3 KB
Original Source

XtraScrollEventArgs Class

Contains data for the Scroll event.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
[ComVisible(true)]
public class XtraScrollEventArgs :
    EventArgs
vb
<ComVisible(True)>
Public Class XtraScrollEventArgs
    Inherits EventArgs

XtraScrollEventArgs is the data class for the following events:

Remarks

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.

Inheritance

Object EventArgs XtraScrollEventArgs

See Also

XtraScrollEventArgs Members

DevExpress.XtraEditors Namespace