C# Class Blake.NUI.WPF.Gestures.Events

Container class for the gesture routed events and supporting functionality
Afficher le fichier Open project: TNOCS/csTouch

Méthodes publiques

Свойство Type Description
DoubleTapGestureEvent System.Windows.RoutedEvent
HoldGestureEvent System.Windows.RoutedEvent
TapGestureEvent System.Windows.RoutedEvent

Méthodes publiques

Méthode Description
AddDoubleTapGestureHandler ( DependencyObject d, GestureEventHandler handler ) : void

Adds a handler for the DoubleTapGesture attached event

AddHoldGestureHandler ( DependencyObject d, GestureEventHandler handler ) : void
AddTapGestureHandler ( DependencyObject d, GestureEventHandler handler ) : void

Adds a handler for the TapGesture attached event

RegisterGestureEventSupport ( FrameworkElement root ) : void

Registers a framework element for gesture recognition. Any element below the root element will be eligable for gesture events and events bubble through the tree like normal routed events

RemoveDoubleTapGestureHandler ( DependencyObject d, GestureEventHandler handler ) : void

Removes a handler for the DoubleTapGesture attached event

RemoveHoldGestureHandler ( DependencyObject d, GestureEventHandler handler ) : void
RemoveTapGestureHandler ( DependencyObject d, GestureEventHandler handler ) : void

Removes a handler for the TapGesture attached event

Private Methods

Méthode Description
Events ( ) : System

Method Details

AddDoubleTapGestureHandler() public static méthode

Adds a handler for the DoubleTapGesture attached event
public static AddDoubleTapGestureHandler ( DependencyObject d, GestureEventHandler handler ) : void
d System.Windows.DependencyObject
handler GestureEventHandler Event handler to be added
Résultat void

AddHoldGestureHandler() public static méthode

public static AddHoldGestureHandler ( DependencyObject d, GestureEventHandler handler ) : void
d System.Windows.DependencyObject
handler GestureEventHandler
Résultat void

AddTapGestureHandler() public static méthode

Adds a handler for the TapGesture attached event
public static AddTapGestureHandler ( DependencyObject d, GestureEventHandler handler ) : void
d System.Windows.DependencyObject
handler GestureEventHandler Event handler to be added
Résultat void

RegisterGestureEventSupport() public static méthode

Registers a framework element for gesture recognition. Any element below the root element will be eligable for gesture events and events bubble through the tree like normal routed events
public static RegisterGestureEventSupport ( FrameworkElement root ) : void
root System.Windows.FrameworkElement The root element where gesture support should be supported. This element and any element below it in the tree will get gesture support
Résultat void

RemoveDoubleTapGestureHandler() public static méthode

Removes a handler for the DoubleTapGesture attached event
public static RemoveDoubleTapGestureHandler ( DependencyObject d, GestureEventHandler handler ) : void
d System.Windows.DependencyObject
handler GestureEventHandler Event handler to be removed
Résultat void

RemoveHoldGestureHandler() public static méthode

public static RemoveHoldGestureHandler ( DependencyObject d, GestureEventHandler handler ) : void
d System.Windows.DependencyObject
handler GestureEventHandler
Résultat void

RemoveTapGestureHandler() public static méthode

Removes a handler for the TapGesture attached event
public static RemoveTapGestureHandler ( DependencyObject d, GestureEventHandler handler ) : void
d System.Windows.DependencyObject
handler GestureEventHandler Event handler to be removed
Résultat void

Property Details

DoubleTapGestureEvent public_oe static_oe property

DoubleTapGesture Attached Routed Event
public static RoutedEvent,System.Windows DoubleTapGestureEvent
Résultat System.Windows.RoutedEvent

HoldGestureEvent public_oe static_oe property

HoldGesture Attached Routed Event
public static RoutedEvent,System.Windows HoldGestureEvent
Résultat System.Windows.RoutedEvent

TapGestureEvent public_oe static_oe property

TapGesture Attached Routed Event
public static RoutedEvent,System.Windows TapGestureEvent
Résultat System.Windows.RoutedEvent