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
- 繼承
- 屬性
名稱 | 值 | Description |
---|---|---|
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 |