Does the programmatic scrolling for this element.
Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overrides Sub ScrollProgrammatically ( _
    scrollDirection As ScrollDirection, _
    scrollAmount As ScrollAmount _
)
public override void ScrollProgrammatically(
    ScrollDirection scrollDirection,
    ScrollAmount scrollAmount
)
public:
virtual void ScrollProgrammatically(
    ScrollDirection scrollDirection, 
    ScrollAmount scrollAmount
) override
abstract ScrollProgrammatically : 
        scrollDirection:ScrollDirection * 
        scrollAmount:ScrollAmount -> unit  
override ScrollProgrammatically : 
        scrollDirection:ScrollDirection * 
        scrollAmount:ScrollAmount -> unit
public override function ScrollProgrammatically(
    scrollDirection : ScrollDirection, 
    scrollAmount : ScrollAmount
)
Parameters
- scrollDirection 
 Type: Microsoft.VisualStudio.TestTools.UITest.Extension.ScrollDirection- The direction to scroll. 
- scrollAmount 
 Type: Microsoft.VisualStudio.TestTools.UITest.Extension.ScrollAmount- The amount to scroll. 
Implements
IUITechnologyElement.ScrollProgrammatically(ScrollDirection, ScrollAmount)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
UITechnologyElementProxy Class