Class ScrollEventArgs
- Namespace
- SharpConsoleUI.Controls
- Assembly
- SharpConsoleUI.dll
Scroll event arguments.
public class ScrollEventArgs : EventArgs
- Inheritance
-
ScrollEventArgs
- Inherited Members
Constructors
ScrollEventArgs(ScrollDirection, int, int)
Initializes a new instance of the ScrollEventArgs class.
public ScrollEventArgs(ScrollDirection direction, int verticalOffset, int horizontalOffset)
Parameters
directionScrollDirectionverticalOffsetinthorizontalOffsetint
Properties
Direction
Gets the scroll direction.
public ScrollDirection Direction { get; }
Property Value
HorizontalOffset
Gets the horizontal scroll offset.
public int HorizontalOffset { get; }
Property Value
VerticalOffset
Gets the vertical scroll offset.
public int VerticalOffset { get; }