ScrollView.SetShouldDelayContentTouches 方法

定義

多載

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>

參數

config
IPlatformElementConfiguration<iOS,ScrollView>

平台特定組態,包含要對其執行作業的項目。

value
System.Boolean

要指派的新屬性值。

傳回

更新的組態物件,可以對該物件呼叫更多方法。

適用於