IUITechnologyElement.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)
Syntax
'Declaration
Sub EnsureVisibleByScrolling ( _
pointX As Integer, _
pointY As Integer, _
ByRef outpointX As Integer, _
ByRef outpointY As Integer _
)
void EnsureVisibleByScrolling(
int pointX,
int pointY,
ref int outpointX,
ref int outpointY
)
void EnsureVisibleByScrolling(
int pointX,
int pointY,
int% outpointX,
int% outpointY
)
abstract EnsureVisibleByScrolling :
pointX:int *
pointY:int *
outpointX:int byref *
outpointY:int byref -> unit
function EnsureVisibleByScrolling(
pointX : int,
pointY : int,
outpointX : int,
outpointY : int
)
Parameters
pointX
Type: Int32The relative x-coordinate to make visible.
pointY
Type: Int32The 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.