Show / Hide Table of Contents

Class TouchGestureEventArgs

Arguments for touch gesture event

Inheritance
System.Object
RoutedEventArgs
InputEventArgs
TouchGestureEventArgs
Inherited Members
InputEventArgs.Timestamp
RoutedEventArgs.RoutedEvent
RoutedEventArgs.Handled
RoutedEventArgs.Source
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: EmptyKeys.UserInterface.Input
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class TouchGestureEventArgs : InputEventArgs

Constructors

TouchGestureEventArgs(TouchGestures, PointF, PointF, Double, RoutedEvent)

Initializes a new instance of the TouchGestureEventArgs class.

Declaration
public TouchGestureEventArgs(TouchGestures gestureType, PointF position, PointF delta, double timestamp, RoutedEvent routedEvent)
Parameters
Type Name Description
EmptyKeys.UserInterface.Input.TouchGestures gestureType

Type of the gesture.

EmptyKeys.UserInterface.PointF position

The position.

EmptyKeys.UserInterface.PointF delta

The delta.

System.Double timestamp

The timestamp.

RoutedEvent routedEvent

The routed event.

TouchGestureEventArgs(TouchGestures, PointF, PointF, Double, RoutedEvent, Object)

Initializes a new instance of the TouchGestureEventArgs class.

Declaration
public TouchGestureEventArgs(TouchGestures gestureType, PointF position, PointF delta, double timestamp, RoutedEvent routedEvent, object source)
Parameters
Type Name Description
EmptyKeys.UserInterface.Input.TouchGestures gestureType

Type of the gesture.

EmptyKeys.UserInterface.PointF position

The position.

EmptyKeys.UserInterface.PointF delta

The delta.

System.Double timestamp

The timestamp.

RoutedEvent routedEvent

The routed event.

System.Object source

The source.

Properties

Delta

Gets the delta.

Declaration
public PointF Delta { get; }
Property Value
Type Description
EmptyKeys.UserInterface.PointF

The delta.

GestureType

Gets the type of the gesture.

Declaration
public TouchGestures GestureType { get; }
Property Value
Type Description
EmptyKeys.UserInterface.Input.TouchGestures

The type of the gesture.

Position

Gets the position.

Declaration
public PointF Position { get; }
Property Value
Type Description
EmptyKeys.UserInterface.PointF

The position.

Methods

GetPosition()

Gets the position.

Declaration
public PointF GetPosition()
Returns
Type Description
EmptyKeys.UserInterface.PointF

GetPosition(UIElement)

Gets the position.

Declaration
public PointF GetPosition(UIElement element)
Parameters
Type Name Description
UIElement element

The element.

Returns
Type Description
EmptyKeys.UserInterface.PointF

InvokeEventHandler(Delegate, Object)

Invokes the event handler.

Declaration
protected override void InvokeEventHandler(Delegate handler, object target)
Parameters
Type Name Description
System.Delegate handler

The handler.

System.Object target

The target.

Overrides
InputEventArgs.InvokeEventHandler(Delegate, Object)
Back to top Generated by DocFX