Show / Hide Table of Contents

    Class SwipeEventArgs

    FormsGestures Swipe event arguments.

    Inheritance
    Object
    EventArgs
    BaseGestureEventArgs
    SwipeEventArgs
    Inherited Members
    BaseGestureEventArgs.Event
    BaseGestureEventArgs.Handled
    BaseGestureEventArgs.Listener
    BaseGestureEventArgs.Cancelled
    BaseGestureEventArgs.ElementPosition
    BaseGestureEventArgs.ElementTouches
    BaseGestureEventArgs.WindowTouches
    BaseGestureEventArgs.NumberOfTouches
    BaseGestureEventArgs.Center(Point[])
    BaseGestureEventArgs.Equals(Object)
    BaseGestureEventArgs.Equals(BaseGestureEventArgs)
    BaseGestureEventArgs.GetHashCode()
    BaseGestureEventArgs.ValueFrom(BaseGestureEventArgs)
    BaseGestureEventArgs.Contains(Point)
    BaseGestureEventArgs.IsTouchCenterInView
    EventArgs.Empty
    Object.Equals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    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
    Object.ToString()

    ValueFrom(SwipeEventArgs)

    Updates properties from the values from another instance

    Declaration
    public void ValueFrom(SwipeEventArgs source)
    Parameters
    Type Name Description
    SwipeEventArgs source

    Extension Methods

    DebugExtensions.AddToCensus(Object)
    DebugExtensions.RemoveFromCensus(Object)
    ReflectionExtensions.GetProperties(Object)
    ReflectionExtensions.GetProperty(Object, String)
    ReflectionExtensions.PropertyNames(Object)
    ReflectionExtensions.PropertyExists(Object, String)
    ReflectionExtensions.HasProperty(Object, String)
    ReflectionExtensions.GetPropertyValue(Object, String)
    ReflectionExtensions.SetPropertyValue(Object, String, Object)
    ReflectionExtensions.GetFieldValue(Object, String)
    ReflectionExtensions.SetFieldValue(Object, String, Object)
    ReflectionExtensions.CallMethod(Object, String, Object[])
    Back to top Copyright © 2018 42nd Parallel