Edit

Bagikan melalui


ScrollAmount Enum

Definition

Contains values used by ScrollPattern to indicate the direction and distance to scroll.

public enum class ScrollAmount
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("bd52d3c7-f990-4c52-9ae3-5c377e9eb772")]
public enum ScrollAmount
public enum ScrollAmount
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("bd52d3c7-f990-4c52-9ae3-5c377e9eb772")>]
type ScrollAmount = 
type ScrollAmount = 
Public Enum ScrollAmount
Inheritance
ScrollAmount
Attributes

Fields

Name Value Description
LargeDecrement 0

Specifies that scrolling is done in large decrements, equivalent to PageUp or clicking on a blank part of a scrollbar. If PageUp is not a relevant amount for the control and/or no scrollbar exists, the value represents an amount equal to the current visible window.

SmallDecrement 1

Specifies that scrolling is done in small decrements, equivalent to pressing an arrow key or clicking the arrow button on a scrollbar.

NoAmount 2

Specifies that scrolling should not be performed.

LargeIncrement 3

Specifies that scrolling is done in large increments, equivalent to a PageDown or clicking on the track of a scrollbar component. If a PageDown is not a relevant amount for the control and/or no scrollbar exists, the value represents an amount equal to the current visible region.

SmallIncrement 4

Specifies that scrolling is done in small increments, equivalent to pressing an arrow key or clicking the arrow button on a scrollbar.

Applies to