Expand Minimize
This topic has not yet been rated - Rate this topic

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
BackByLargeAmountIndicates to scroll back by the large amount of the scrollbar.
BackBySmallAmountIndicates to scroll back by the small amount of the scrollbar.
ForwardByLargeAmountIndicates to scroll forward by the large amount of the scrollbar.
ForwardBySmallAmountIndicates to scroll forward by the small amount of the scrollbar.
NoAmountIndicates 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.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.