Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ScrollAmount Enumeration

 

Used to indicate a scroll direction for a scrollbar and whether to move by the large amount or small amount of the scrollbar, or by no amount.

Namespace:   Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

public enum ScrollAmount

Member nameDescription
BackByLargeAmount

Indicates to scroll back by the large amount of the scrollbar.

BackBySmallAmount

Indicates to scroll back by the small amount of the scrollbar.

ForwardByLargeAmount

Indicates to scroll forward by the large amount of the scrollbar.

ForwardBySmallAmount

Indicates to scroll forward by the small amount of the scrollbar.

NoAmount

Indicates no scroll amount.

Scrollbars typically have a large value property and a small value property. Depending on the size of the scrollbar, making a specific control visible might require moving by four large forward scroll amounts and back by one small scroll amount.

Return to top
Show: