Skip to main content
All docs
V24.2

XtraScrollEventArgs(ScrollEventType, Int32, Int32, ScrollOrientation) Constructor

Initializes a new instance of the XtraScrollEventArgs class with the specified Type, OldValue, NewValue, and ScrollOrientation properties.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.2.dll

Declaration

public XtraScrollEventArgs(
    ScrollEventType type,
    int oldValue,
    int newValue,
    ScrollOrientation scroll
)

Parameters

Name Type Description
type ScrollEventType

The type of action that raises the event. This value is assigned to the Type property.

oldValue Int32

An integer value that specifies the old position of the scrollbar. This value is assigned to the XtraScrollEventArgs.OldValue property.

newValue Int32

An integer value that specifies the new position of the scrollbar. This value is assigned to the XtraScrollEventArgs.NewValue property.

scroll ScrollOrientation

A value that specifies the scrollbar orientation. This value is assigned to the XtraScrollEventArgs.ScrollOrientation property.

See Also