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.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
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. |