Show / Hide Table of Contents

Class Touch

Implements Touch device and routed events

Inheritance
System.Object
Touch
Inherited Members
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 sealed class Touch

Constructors

Touch()

Initializes a new instance of the Touch class.

Declaration
public Touch()

Fields

PreviewTouchDownEvent

The preview touch down event

Declaration
public static readonly RoutedEvent PreviewTouchDownEvent
Field Value
Type Description
RoutedEvent

PreviewTouchGestureEvent

The preview touch gesture event

Declaration
public static readonly RoutedEvent PreviewTouchGestureEvent
Field Value
Type Description
RoutedEvent

PreviewTouchMoveEvent

The preview touch move event

Declaration
public static readonly RoutedEvent PreviewTouchMoveEvent
Field Value
Type Description
RoutedEvent

PreviewTouchUpEvent

The preview touch up event

Declaration
public static readonly RoutedEvent PreviewTouchUpEvent
Field Value
Type Description
RoutedEvent

TouchDownEvent

The touch down event

Declaration
public static readonly RoutedEvent TouchDownEvent
Field Value
Type Description
RoutedEvent

TouchGestureEvent

The touch gesture event

Declaration
public static readonly RoutedEvent TouchGestureEvent
Field Value
Type Description
RoutedEvent

TouchMoveEvent

The touch move event

Declaration
public static readonly RoutedEvent TouchMoveEvent
Field Value
Type Description
RoutedEvent

TouchUpEvent

The touch up event

Declaration
public static readonly RoutedEvent TouchUpEvent
Field Value
Type Description
RoutedEvent

Properties

Captured

Gets the captured.

Declaration
public UIElement Captured { get; }
Property Value
Type Description
UIElement

The captured.

Methods

Capture(UIElement)

Captures the specified input element.

Declaration
public void Capture(UIElement inputElement)
Parameters
Type Name Description
UIElement inputElement

The input element.

Update(UIRoot, Double, Double)

Updates input listeners

Declaration
public void Update(UIRoot uiContainer, double elapsedGameTime, double totalGameTime)
Parameters
Type Name Description
UIRoot uiContainer

The UI container.

System.Double elapsedGameTime

The elapsed game time.

System.Double totalGameTime

The total game time.

Back to top Generated by DocFX