ScrollEventType Enum

Definition

Specifies the type of action used to raise the Scroll event.

C#
[System.Runtime.InteropServices.ComVisible(true)]
public enum ScrollEventType
C#
public enum ScrollEventType
Inheritance
ScrollEventType
Attributes

Fields

Name Value Description
SmallDecrement 0

The scroll box was moved a small distance. The user clicked the left(horizontal) or top(vertical) scroll arrow, or pressed the UP ARROW key.

SmallIncrement 1

The scroll box was moved a small distance. The user clicked the right(horizontal) or bottom(vertical) scroll arrow, or pressed the DOWN ARROW key.

LargeDecrement 2

The scroll box moved a large distance. The user clicked the scroll bar to the left(horizontal) or above(vertical) the scroll box, or pressed the PAGE UP key.

LargeIncrement 3

The scroll box moved a large distance. The user clicked the scroll bar to the right(horizontal) or below(vertical) the scroll box, or pressed the PAGE DOWN key.

ThumbPosition 4

The scroll box was moved.

ThumbTrack 5

The scroll box is currently being moved.

First 6

The scroll box was moved to the Minimum position.

Last 7

The scroll box was moved to the Maximum position.

EndScroll 8

The scroll box has stopped moving.

Remarks

This enumeration is used by ScrollEventArgs.Type.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also