TapGestureRecognizer.TappedCallback 属性

定义

注意

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

用户触发手势时要调用的操作。 这是一种可绑定属性。

[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

属性值

System.Action<View,System.Object>

将调用的操作。

属性
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute

注解

传递给回调的对象将是 的内容 TappedCallbackParameter

适用于