C# Class Microsoft.Phone.Controls.GestureService

Exibir arquivo Open project: Kinnara/WPToolkit Class Usage Examples

Public Properties

Property Type Description
GestureListenerProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetGestureListener ( DependencyObject obj ) : GestureListener

Gets a GestureListener for the new element. Will create a new one if necessary.

Private Methods

Method Description
GetGestureListenerInternal ( DependencyObject obj, bool createIfMissing ) : GestureListener

Gets the GestureListener on an element. If one is not set, can create a new one so that this will never return null, depending on the state of the createIfMissing flag.

SetGestureListener ( DependencyObject obj, GestureListener value ) : void
SetGestureListenerInternal ( DependencyObject obj, GestureListener value ) : void

This is used to set the value of the attached DependencyProperty internally.

Method Details

GetGestureListener() public static method

Gets a GestureListener for the new element. Will create a new one if necessary.
public static GetGestureListener ( DependencyObject obj ) : GestureListener
obj System.Windows.DependencyObject The object to get the GestureListener from.
return GestureListener

Property Details

GestureListenerProperty public_oe static_oe property

The definition of the GestureListener attached DependencyProperty.
public static DependencyProperty,System.Windows GestureListenerProperty
return System.Windows.DependencyProperty