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

Container class for the gesture routed events and supporting functionality
Show file Open project: TNOCS/csTouch

Public Properties

Property Type Description
DoubleTapGestureEvent System.Windows.RoutedEvent
HoldGestureEvent System.Windows.RoutedEvent
TapGestureEvent System.Windows.RoutedEvent

Public Methods

Method 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

Method Description
Events ( ) : System

Method Details

AddDoubleTapGestureHandler() public static method

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
return void

AddHoldGestureHandler() public static method

public static AddHoldGestureHandler ( DependencyObject d, GestureEventHandler handler ) : void
d System.Windows.DependencyObject
handler GestureEventHandler
return void

AddTapGestureHandler() public static method

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
return void

RegisterGestureEventSupport() public static method

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
return void

RemoveDoubleTapGestureHandler() public static method

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
return void

RemoveHoldGestureHandler() public static method

public static RemoveHoldGestureHandler ( DependencyObject d, GestureEventHandler handler ) : void
d System.Windows.DependencyObject
handler GestureEventHandler
return void

RemoveTapGestureHandler() public static method

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
return void

Property Details

DoubleTapGestureEvent public static property

DoubleTapGesture Attached Routed Event
public static RoutedEvent,System.Windows DoubleTapGestureEvent
return System.Windows.RoutedEvent

HoldGestureEvent public static property

HoldGesture Attached Routed Event
public static RoutedEvent,System.Windows HoldGestureEvent
return System.Windows.RoutedEvent

TapGestureEvent public static property

TapGesture Attached Routed Event
public static RoutedEvent,System.Windows TapGestureEvent
return System.Windows.RoutedEvent