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
typeScrollEventTypeOne of the ScrollEventType values.
newValueintThe 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
typeScrollEventTypeOne of the ScrollEventType values.
newValueintThe new value for the scroll bar.
scrollScrollBarOrientationOne 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
typeScrollEventTypeOne of the ScrollEventType values.
oldValueintThe old value for the scroll bar.
newValueintThe 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
typeScrollEventTypeOne of the ScrollEventType values.
oldValueintThe old value for the scroll bar.
newValueintThe new value for the scroll bar.
scrollScrollBarOrientationOne of the ScrollOrientation values.
ScrollEventArgs()
Initializes a new instance of the ScrollEventArgs.
public ScrollEventArgs()