Partager via


UITechnologyElementProxy.EnsureVisibleByScrolling Method

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)

Syntax

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

Parameters

  • pointX
    Type: Int32

    The relative x coordinate of point to make visible.

  • pointY
    Type: Int32

    The relative y coordinate of point to make visible.

  • outpointX
    Type: Int32%
  • outpointY
    Type: Int32%

Implements

IUITechnologyElement.EnsureVisibleByScrolling(Int32, Int32, Int32%, Int32%)

.NET Framework Security

See Also

Reference

UITechnologyElementProxy Class

Microsoft.VisualStudio.TestTools.UITesting Namespace

ContainerScrollingSupported