Class ScrollEventArgs
Provides data for the Scroll
event.
public class ScrollEventArgs : BaseEventArgs
- Inheritance
-
ScrollEventArgs
Constructors
- ScrollEventArgs()
Initializes a new instance of the ScrollEventArgs.
- ScrollEventArgs(ScrollEventType, int)
Initializes a new instance of the ScrollEventArgs class using the given values for the Type and NewValue properties.
- ScrollEventArgs(ScrollEventType, int, ScrollBarOrientation)
Initializes a new instance of the ScrollEventArgs class using the given values for the Type, NewValue, and ScrollOrientation properties.
- ScrollEventArgs(ScrollEventType, int, int)
Initializes a new instance of the ScrollEventArgs class using the given values for the Type, OldValue, and NewValue properties.
- 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.
Properties
- IsHorizontal
Gets or sets whether the scroll bar orientation that raised the
Scroll
event is horizontal.
- IsVertical
Gets or sets whether the scroll bar orientation that raised the
Scroll
event is vertical.
- ScrollOrientation
Gets or sets the scroll bar orientation that raised the
Scroll
event.
- Type
Gets or sets the type of scroll event that occurred.