TapGestureRecognizer Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TapGestureRecognizer() |
Initializes a new instance of a TapGestureRecognizer object. |
TapGestureRecognizer(Action<View,Object>) |
Obsolete.
Initializes a new instance of a TapGestureRecognizer object with a parameterized callback. |
TapGestureRecognizer(Action<View>) |
Obsolete.
Initializes a new instance of a TapGestureRecognizer object with a callback. |
TapGestureRecognizer()
Initializes a new instance of a TapGestureRecognizer object.
public TapGestureRecognizer ();
Applies to
TapGestureRecognizer(Action<View,Object>)
Caution
TapGestureRecognizer(Action<View, object> tappedCallback) is obsolete as of version 1.0.2. Please use Command instead.
Initializes a new instance of a TapGestureRecognizer object with a parameterized callback.
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("TapGestureRecognizer(Action<View, object> tappedCallback) is obsolete as of version 1.0.2. Please use Command instead.")]
public TapGestureRecognizer (Action<Xamarin.Forms.View,object> tappedCallback);
new Xamarin.Forms.TapGestureRecognizer : Action<Xamarin.Forms.View, obj> -> Xamarin.Forms.TapGestureRecognizer
Parameters
- tappedCallback
- System.Action<View,System.Object>
An action whose first argument is the View the recognizer is associated with and whose second argument is the callback parameter.
- Attributes
-
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute
Applies to
TapGestureRecognizer(Action<View>)
Caution
TapGestureRecognizer(Action<View> tappedCallback) is obsolete as of version 1.0.2. Please use Command instead.
Initializes a new instance of a TapGestureRecognizer object with a callback.
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("TapGestureRecognizer(Action<View> tappedCallback) is obsolete as of version 1.0.2. Please use Command instead.")]
public TapGestureRecognizer (Action<Xamarin.Forms.View> tappedCallback);
new Xamarin.Forms.TapGestureRecognizer : Action<Xamarin.Forms.View> -> Xamarin.Forms.TapGestureRecognizer
Parameters
- tappedCallback
- System.Action<View>
An action whose first argument is the View the recognizer is associated with.
- Attributes
-
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute