ScrollView.SetShouldDelayContentTouches 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SetShouldDelayContentTouches(BindableObject, Boolean) |
设置一个布尔值,用于说明 iOS 是否会等待确定触碰目的是滚动还是立即滚动。 |
SetShouldDelayContentTouches(IPlatformElementConfiguration<iOS,ScrollView>, Boolean) |
设置一个布尔值,用于说明 iOS 是否会等待确定触碰目的是滚动还是立即滚动。 |
SetShouldDelayContentTouches(BindableObject, Boolean)
设置一个布尔值,用于说明 iOS 是否会等待确定触碰目的是滚动还是立即滚动。
public static void SetShouldDelayContentTouches (Xamarin.Forms.BindableObject element, bool value);
static member SetShouldDelayContentTouches : Xamarin.Forms.BindableObject * bool -> unit
参数
- element
- BindableObject
要对其执行操作的特定于平台的元素。
- value
- System.Boolean
要分配的新属性值。
适用于
SetShouldDelayContentTouches(IPlatformElementConfiguration<iOS,ScrollView>, Boolean)
设置一个布尔值,用于说明 iOS 是否会等待确定触碰目的是滚动还是立即滚动。
public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.ScrollView> SetShouldDelayContentTouches (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.ScrollView> config, bool value);
static member SetShouldDelayContentTouches : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.ScrollView> * bool -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.ScrollView>
参数
特定于平台的配置,包含要对其执行操作的元素。
- value
- System.Boolean
要分配的新属性值。
返回
更新的配置对象,可对该对象调用更多方法。