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::GetScrolledPercentage Method (ScrollDirection, IUITechnologyElement^)

 

Gets the amount scrolled in percentage.

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

public:
virtual int GetScrolledPercentage(
	ScrollDirection scrollDirection,
	IUITechnologyElement^ scrollElement
) override

Parameters

scrollDirection
Type: Microsoft.VisualStudio.TestTools.UITest.Extension::ScrollDirection

scrollElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension::IUITechnologyElement^

The element which is either the vertical or horizontal scroll bar.

Return Value

Type: System::Int32

The amount in percentage.

Return to top
Show: