Aracılığıyla paylaş


Mouse.MoveScrollWheel Yöntem (UITestControl, Int32)

Belirtilen denetim belirtilen sayıda fare hareket ettiğinde kayar.

Ad alanı:  Microsoft.VisualStudio.TestTools.UITesting
Derleme:  Microsoft.VisualStudio.TestTools.UITesting (Microsoft.VisualStudio.TestTools.UITesting.dll içinde)

Sözdizimi

'Bildirim
Public Shared Sub MoveScrollWheel ( _
    control As UITestControl, _
    wheelMoveCount As Integer _
)
public static void MoveScrollWheel(
    UITestControl control,
    int wheelMoveCount
)
public:
static void MoveScrollWheel(
    UITestControl^ control, 
    int wheelMoveCount
)
static member MoveScrollWheel : 
        control:UITestControl * 
        wheelMoveCount:int -> unit 
public static function MoveScrollWheel(
    control : UITestControl, 
    wheelMoveCount : int
)

Parametreler

  • wheelMoveCount
    Tür: System.Int32
    Fare tekerleğini sayısını gösterir.

Notlar

Tekerlek yönünü işareti tarafından belirlenir wheelMoveCount.Pozitif değerler ileriye doğru Fare kaydırma gösterir; negatif değerler, geriye doğru Fare kaydırma gösteriyor.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

Mouse Sınıf

MoveScrollWheel Fazla Yük

Microsoft.VisualStudio.TestTools.UITesting Ad Alanı

UITestControl