Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UITechnologyElementProxy::ScrollProgrammatically Method (ScrollDirection, ScrollAmount)

 

Does the programmatic scrolling for this element.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public:
virtual void ScrollProgrammatically(
	ScrollDirection scrollDirection,
	ScrollAmount scrollAmount
) override

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.

Return to top
Show: