Partilhar via


Método UITechnologyElementProxy.EnsureVisibleByScrolling

Rola o elemento no modo.

Se o gerenciador de tecnologia não suporta múltiplos recipiente de rolagem, então o outPointX e o outPointY devem ser retornados como -1, -1.

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

Sintaxe

'Declaração
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
)

Parâmetros

  • pointX
    Tipo: System.Int32
    A coordenada x relativo ao ponto fazer visível.
  • pointY
    Tipo: System.Int32
    A coordenada y de relativo ao ponto fazer visível.

Implementações

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

Segurança do .NET Framework

Consulte também

Referência

UITechnologyElementProxy Classe

Namespace Microsoft.VisualStudio.TestTools.UITesting

ContainerScrollingSupported