Class SwipeEventArgs
FormsGestures Swipe event arguments.
Inherited Members
Namespace: FormsGestures
Assembly: FormsGestures.dll
Syntax
public class SwipeEventArgs : BaseGestureEventArgs
Constructors
SwipeEventArgs(SwipeEventArgs, Listener)
constructor
Declaration
public SwipeEventArgs(SwipeEventArgs source = null, Listener newListener = null)
Parameters
Type | Name | Description |
---|---|---|
SwipeEventArgs | source | |
Listener | newListener |
Properties
Direction
Direction of swipe
Declaration
public virtual Direction Direction { get; protected set; }
Property Value
Type | Description |
---|---|
Direction |
VelocityX
current x velocity
Declaration
public double VelocityX { get; }
Property Value
Type | Description |
---|---|
Double |
VelocityY
current y velocity
Declaration
public double VelocityY { get; }
Property Value
Type | Description |
---|---|
Double |
Methods
ToString()
Returns a String that represents the current SwipeEventArgs.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A String that represents the current SwipeEventArgs. |
Overrides
ValueFrom(SwipeEventArgs)
Updates properties from the values from another instance
Declaration
public void ValueFrom(SwipeEventArgs source)
Parameters
Type | Name | Description |
---|---|---|
SwipeEventArgs | source |