Share via


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)

Syntax

'Declaration
Public MustOverride Sub EnsureVisibleByScrolling ( _
    pointX As Integer, _
    pointY As Integer, _
    ByRef outpointX As Integer, _
    ByRef outpointY As Integer _
)
public abstract void EnsureVisibleByScrolling(
    int pointX,
    int pointY,
    ref int outpointX,
    ref int outpointY
)
public:
virtual void EnsureVisibleByScrolling(
    int pointX, 
    int pointY, 
    int% outpointX, 
    int% outpointY
) abstract
abstract EnsureVisibleByScrolling : 
        pointX:int * 
        pointY:int * 
        outpointX:int byref * 
        outpointY:int byref -> unit 
public abstract function EnsureVisibleByScrolling(
    pointX : int, 
    pointY : int, 
    outpointX : int, 
    outpointY : int
)

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%)

Remarks

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

.NET Framework Security

See Also

Reference

UITechnologyElement Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace