Condividi tramite


Metodo UITechnologyElementProxy.EnsureVisibleByScrolling

Scorre questo elemento nella visualizzazione.

Se il gestore tecnologia non supporta i contenitori più di scorrimento, il outPointX e il outPointY devono essere restituiti come -1, -1.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Sintassi

'Dichiarazione
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
)

Parametri

  • pointX
    Tipo: System.Int32
    Coordinata relativa del passaggio da rendere visibile.
  • pointY
    Tipo: System.Int32
    La coordinata y relativa del passaggio da rendere visibile.

Implementa

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

Sicurezza di .NET Framework

Vedere anche

Riferimenti

UITechnologyElementProxy Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITesting

ContainerScrollingSupported