Gesture.Turn Method (UITestControl, Double)
Perform a turn gesture.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Syntax
'Declaration
Public Shared Sub Turn ( _
control As UITestControl, _
rotationAngleInDegress As Double _
)
public static void Turn(
UITestControl control,
double rotationAngleInDegress
)
public:
static void Turn(
UITestControl^ control,
double rotationAngleInDegress
)
static member Turn :
control:UITestControl *
rotationAngleInDegress:float -> unit
public static function Turn(
control : UITestControl,
rotationAngleInDegress : double
)
Parameters
control
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControlControl on which the turn gesture is to be performed.
rotationAngleInDegress
Type: DoubleThe angle of turn. Value lies between [-360,360].
Remarks
The control will rotate around its midpoint.
.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.