iOSApp.DragCoordinates Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DragCoordinates(Single, Single, Single, Single) |
Performs a continuous drag gesture between 2 points. |
DragCoordinates(Single, Single, Single, Single, Nullable<TimeSpan>, Nullable<TimeSpan>) |
Performs a continuous drag gesture between 2 points. |
DragCoordinates(Single, Single, Single, Single)
Performs a continuous drag gesture between 2 points.
public void DragCoordinates (float fromX, float fromY, float toX, float toY);
abstract member DragCoordinates : single * single * single * single -> unit
override this.DragCoordinates : single * single * single * single -> unit
Public Sub DragCoordinates (fromX As Single, fromY As Single, toX As Single, toY As Single)
Parameters
- fromX
- Single
The x coordinate to start from.
- fromY
- Single
The y coordinate to start from.
- toX
- Single
The x coordinate to end at.
- toY
- Single
The y coordinate to end at.
Implements
Applies to
DragCoordinates(Single, Single, Single, Single, Nullable<TimeSpan>, Nullable<TimeSpan>)
Performs a continuous drag gesture between 2 points.
public void DragCoordinates (float fromX, float fromY, float toX, float toY, Nullable<TimeSpan> duration, Nullable<TimeSpan> holdTime);
member this.DragCoordinates : single * single * single * single * Nullable<TimeSpan> * Nullable<TimeSpan> -> unit
Public Sub DragCoordinates (fromX As Single, fromY As Single, toX As Single, toY As Single, duration As Nullable(Of TimeSpan), holdTime As Nullable(Of TimeSpan))
Parameters
- fromX
- Single
The x coordinate to start from.
- fromY
- Single
The y coordinate to start from.
- toX
- Single
The x coordinate to end at.
- toY
- Single
The y coordinate to end at.
The TimeSpan duration to hold the initial press before starting the pan gesture.