Skip to main content
All docs
V25.1
  • XtraScrollEventArgs Class

    Contains data for the Scroll event.

    Namespace: DevExpress.XtraEditors

    Assembly: DevExpress.Utils.v25.1.dll

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

    Declaration

    [ComVisible(true)]
    public class XtraScrollEventArgs :
        EventArgs

    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