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

Parameters

pointX
Type: Int32

The relative x-coordinate to make visible.

pointY
Type: Int32

The relative y-coordinate to make visible.

outpointX
Type: Int32

The relative x-coordinate of the point with regard to the topmost container after scrolling.

outpointY
Type: 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: