Partager via


ScrollAmount Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Contains values that are used by the IScrollProvider pattern to indicate the direction and distance to scroll.

Namespace:  System.Windows.Automation
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Enumeration ScrollAmount
public enum ScrollAmount

Members

Member name Description
Supported by Silverlight for Windows Phone LargeDecrement Specifies that scrolling is performed in large decrements, which is equivalent to pressing the PAGE UP key or to clicking a blank part of a scrollbar. If the distance represented by the PAGE UP key is not a relevant amount for the control, or if no scrollbar exists, the value represents an amount equal to the size of the currently visible window.
Supported by Silverlight for Windows Phone SmallDecrement Specifies that scrolling is performed in small decrements, which is equivalent to pressing an arrow key or to clicking the arrow button on a scrollbar.
Supported by Silverlight for Windows Phone NoAmount Specifies that scrolling should not be performed.
Supported by Silverlight for Windows Phone LargeIncrement Specifies that scrolling is performed in large increments, which is equivalent to pressing the PAGE DOWN key or to clicking a blank part of a scrollbar. If the distance represented by the PAGE DOWN key is not a relevant amount for the control, or if no scrollbar exists, the value represents an amount equal to the size of the currently visible region.
Supported by Silverlight for Windows Phone SmallIncrement Specifies that scrolling is performed in small increments, which equivalent to pressing an arrow key or to clicking the arrow button on a scrollbar.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.