This documentation is archived and is not being maintained.

UITechnologyElement::EnsureVisibleByScrolling Method

Scrolls this element into view in the UI.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

public:
virtual void EnsureVisibleByScrolling(
	int pointX, 
	int pointY, 
	int% outpointX, 
	int% outpointY
) abstract

Parameters

pointX
Type: System::Int32
The relative x-coordinate to make visible.
pointY
Type: System::Int32
The relative y-coordinate to make visible.
outpointX
Type: System::Int32%
The relative x-coordinate of the point with regard to the topmost container after scrolling.
outpointY
Type: System::Int32%
The relative y-coordinate of the point with regard to the topmost container after scrolling.

Implements

IUITechnologyElement::EnsureVisibleByScrolling(Int32, Int32, Int32%, Int32%)

If the host technology manager does not support scrolling multiple containers, both the outpointX and outpointY coordinates should return -1.

Show: