Freigeben über


UITechnologyElementProxy.ScrollProgrammatically-Methode

Verwendet den programmgesteuerten Bildlauf für dieses 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
)

Parameter

Implementiert

IUITechnologyElement.ScrollProgrammatically(ScrollDirection, ScrollAmount)

.NET Framework-Sicherheit

Siehe auch

Referenz

UITechnologyElementProxy Klasse

Microsoft.VisualStudio.TestTools.UITesting-Namespace

InitializeProgrammaticScroll