Constructor ScrollEventArgs
ScrollEventArgs(ScrollEventType, int)
Initializes a new instance of the ScrollEventArgs class using the given values for the Type and NewValue properties.
public ScrollEventArgs(ScrollEventType type, int newValue)
Parameters
type
ScrollEventTypeOne of the ScrollEventType values.
newValue
intThe new value for the scroll bar.
ScrollEventArgs(ScrollEventType, int, ScrollBarOrientation)
Initializes a new instance of the ScrollEventArgs class using the given values for the Type, NewValue, and ScrollOrientation properties.
public ScrollEventArgs(ScrollEventType type, int newValue, ScrollBarOrientation scroll)
Parameters
type
ScrollEventTypeOne of the ScrollEventType values.
newValue
intThe new value for the scroll bar.
scroll
ScrollBarOrientationOne of the ScrollOrientation values.
ScrollEventArgs(ScrollEventType, int, int)
Initializes a new instance of the ScrollEventArgs class using the given values for the Type, OldValue, and NewValue properties.
public ScrollEventArgs(ScrollEventType type, int oldValue, int newValue)
Parameters
type
ScrollEventTypeOne of the ScrollEventType values.
oldValue
intThe old value for the scroll bar.
newValue
intThe new value for the scroll bar.
ScrollEventArgs(ScrollEventType, int, int, ScrollBarOrientation)
Initializes a new instance of the ScrollEventArgs class using the given values for the Type, OldValue, NewValue, and ScrollOrientation properties.
public ScrollEventArgs(ScrollEventType type, int oldValue, int newValue, ScrollBarOrientation scroll)
Parameters
type
ScrollEventTypeOne of the ScrollEventType values.
oldValue
intThe old value for the scroll bar.
newValue
intThe new value for the scroll bar.
scroll
ScrollBarOrientationOne of the ScrollOrientation values.
ScrollEventArgs()
Initializes a new instance of the ScrollEventArgs.
public ScrollEventArgs()