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)
Syntax
'Declaration
Public Enumeration ScrollAmount
public enum ScrollAmount
public enum class ScrollAmount
type ScrollAmount
public enum ScrollAmount
Members
Member name | Description | |
---|---|---|
NoAmount | Indicates no scroll amount. | |
ForwardByLargeAmount | Indicates to scroll forward by the large amount of the scrollbar. | |
BackByLargeAmount | Indicates to scroll back by the large amount of the scrollbar. | |
ForwardBySmallAmount | Indicates to scroll forward by the small amount of the scrollbar. | |
BackBySmallAmount | Indicates to scroll back by the small amount of the scrollbar. |
Remarks
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.