TapGestureRecognizer.TappedCallback 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute
注解
传递给回调的对象将是 的内容 TappedCallbackParameter。