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.EnsureVisibleByScrolling Method (Int32, Int32, Int32, Int32)

 

Scrolls this element into view.

If the technology manager does not support scrolling multiple containers, then the outPointX and outPointY should be returned as -1, -1.

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

public override void EnsureVisibleByScrolling(
	int pointX,
	int pointY,
	ref int outpointX,
	ref int outpointY
)

Parameters

pointX
Type: System.Int32

The relative x coordinate of point to make visible.

pointY
Type: System.Int32

The relative y coordinate of point to make visible.

outpointX
Type: System.Int32

outpointY
Type: System.Int32

Return to top
Show: