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.

UITechnologyElement.EnsureVisibleByScrolling Method (Int32, Int32, Int32, Int32)

 

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 abstract void EnsureVisibleByScrolling(
	int pointX,
	int pointY,
	ref int outpointX,
	ref int outpointY
)

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.

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

Return to top
Show: