Share via


UITechnologyElementProxy.ScrollProgrammatically Method

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

Implements

IUITechnologyElement.ScrollProgrammatically(ScrollDirection, ScrollAmount)

.NET Framework Security

See Also

Reference

UITechnologyElementProxy Class

Microsoft.VisualStudio.TestTools.UITesting Namespace

InitializeProgrammaticScroll