ScrollEventType 枚举
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定用于引发 Scroll 事件的操作的类型。
public enum class ScrollEventType
C#
[System.Runtime.InteropServices.ComVisible(true)]
public enum ScrollEventType
C#
public enum ScrollEventType
[<System.Runtime.InteropServices.ComVisible(true)>]
type ScrollEventType =
type ScrollEventType =
Public Enum ScrollEventType
- 继承
- 属性
名称 | 值 | 说明 |
---|---|---|
EndScroll | 8 | 滚动框已停止移动。 |
First | 6 | 滚动框被移动到 Minimum 位置。 |
LargeDecrement | 2 | 滚动框移动了较长的距离。 用户在滚动条上单击了滚动框左侧(水平)或上方(垂直),或者按了 Page Up 键。 |
LargeIncrement | 3 | 滚动框移动了较长的距离。 用户在滚动条上单击了滚动框右侧(水平)或下方(垂直),或者按了 Page Down 键。 |
Last | 7 | 滚动框被移动到 Maximum 位置。 |
SmallDecrement | 0 | 滚动框移动了较短的距离。 用户单击了左(水平)或上(垂直)滚动箭头,或者按了向上键。 |
SmallIncrement | 1 | 滚动框移动了较短的距离。 用户单击了右(水平)或下(垂直)滚动箭头,或者按了向下键。 |
ThumbPosition | 4 | 滚动框被移动。 |
ThumbTrack | 5 | 滚动框当前正在移动。 |
此枚举由 ScrollEventArgs.Type使用。
产品 | 版本 |
---|---|
.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 |