C# Class Windows7.Multitouch.WPF.Factory

Helper class for creating Gesture handler and Enabling touch for WPF application
Afficher le fichier Open project: RIT-Tool-Time/Cascade

Méthodes publiques

Méthode Description
CreateGestureHandler ( System window ) : GestureHandler

A factory that creates gesture handler for a WPF Window

since WPF does not support Touch events, only Gesture handler can be created

CreateTimer ( ) : IGUITimer

Create a wrapper for a UI based timer

This timer is called in the context of the UI thread

EnableStylusEvents ( System window ) : void

Enable Stylus events, that represent touch events.

Each stylus device has an Id that is corelate to the touch Id

Method Details

CreateGestureHandler() public static méthode

A factory that creates gesture handler for a WPF Window
since WPF does not support Touch events, only Gesture handler can be created
public static CreateGestureHandler ( System window ) : GestureHandler
window System The window that need touch or gesture events
Résultat GestureHandler

CreateTimer() public static méthode

Create a wrapper for a UI based timer
This timer is called in the context of the UI thread
public static CreateTimer ( ) : IGUITimer
Résultat IGUITimer

EnableStylusEvents() public static méthode

Enable Stylus events, that represent touch events.
Each stylus device has an Id that is corelate to the touch Id
public static EnableStylusEvents ( System window ) : void
window System The WPF window that needs stylus events
Résultat void