Mouse.HoverImplementation Method
Pauses the mouse at the specified location that is relative to the specified control for a specified duration.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Protected Overridable Sub HoverImplementation ( _
control As UITestControl, _
relativeCoordinate As Point, _
millisecondsDuration As Integer _
)
protected virtual void HoverImplementation(
UITestControl control,
Point relativeCoordinate,
int millisecondsDuration
)
protected:
virtual void HoverImplementation(
UITestControl^ control,
Point relativeCoordinate,
int millisecondsDuration
)
abstract HoverImplementation :
control:UITestControl *
relativeCoordinate:Point *
millisecondsDuration:int -> unit
override HoverImplementation :
control:UITestControl *
relativeCoordinate:Point *
millisecondsDuration:int -> unit
protected function HoverImplementation(
control : UITestControl,
relativeCoordinate : Point,
millisecondsDuration : int
)
Parameters
control
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControlUITestControl to which the mouse is to be hovered.
relativeCoordinate
Type: PointPoint that is relative to the control to which to move the mouse. If control is nulla null reference (Nothing in Visual Basic), the relativeCoordinate specifies an absolute coordinate.
millisecondsDuration
Type: Int32Duration of the mouse hover.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.