Share via


TapGestureRecognizer.TappedCallback Property

Definition

Caution

TappedCallback is obsolete as of version 1.0.2. Please use Command instead.

The action to invoke when the gesture has been triggered by the user. This is a bindable property.

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("TappedCallback is obsolete as of version 1.0.2. Please use Command instead.")]
public Action<Xamarin.Forms.View,object> TappedCallback { get; set; }
member this.TappedCallback : Action<Xamarin.Forms.View, obj> with get, set

Property Value

System.Action<View,System.Object>

An action that will be invoked.

Attributes
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute

Remarks

The object passed to the callback will be the contents of TappedCallbackParameter.

Applies to