Udostępnij za pośrednictwem


ScrollEventType Enum

Definition

Defines constants that specify the type of Scroll event that occurred.

public enum class ScrollEventType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ScrollEventType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ScrollEventType
Public Enum ScrollEventType
Inheritance
ScrollEventType
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
SmallDecrement 0

The Thumb moved a distance specified by the value of SmallChange. The Thumb moved to the left for a horizontal ScrollBar or upward for a vertical ScrollBar.

SmallIncrement 1

The Thumb moved a distance specified by the value of SmallChange. The Thumb moved to the right for a horizontal ScrollBar or downward for a vertical ScrollBar.

LargeDecrement 2

The Thumb moved a distance specified by the value of LargeChange. The Thumb moved to the left for a horizontal ScrollBar or upward for a vertical ScrollBar.

LargeIncrement 3

The Thumb moved a distance specified by the value of LargeChange. The Thumb moved to the right for a horizontal ScrollBar or downward for a vertical ScrollBar.

ThumbPosition 4

The Thumb moved to a new position because the user selected Scroll Here in the shortcut menu of the ScrollBar.

ThumbTrack 5

The Thumb was dragged and caused a PointerMoved event. A Scroll event of this ScrollEventType may occur more than one time when the Thumb is dragged in the ScrollBar.

First 6

The Thumb moved to the Minimum position of the ScrollBar.

Last 7

The Thumb moved to the Maximum position of the ScrollBar.

EndScroll 8

The Thumb was dragged to a new position and is now no longer being dragged by the user.

Applies to