Sets the C1GestureListener on an element. Needed for XAML, but should not be used in code. Use
GetGestureListener instead, which will create a new instance if one is not already set, to
add your handlers to an element.
Namespace:
C1.SilverlightAssembly: C1.Silverlight (in C1.Silverlight.dll)
Syntax
C# |
---|
[ObsoleteAttribute("Do not add handlers using this method. Instead, use GetGestureListener, which will create a new instance if one is not already set, to add your handlers to an element.", true)] public static void SetGestureListener( DependencyObject obj, C1GestureListener value ) |
Visual Basic |
---|
<ObsoleteAttribute("Do not add handlers using this method. Instead, use GetGestureListener, which will create a new instance if one is not already set, to add your handlers to an element.", _ True)> _ Public Shared Sub SetGestureListener ( _ obj As DependencyObject, _ value As C1GestureListener _ ) |
Parameters
- obj
- Type: System.Windows..::..DependencyObject
The object to set the C1GestureListener on.
- value
- Type: C1.Silverlight..::..C1GestureListener
The C1GestureListener.