共用方式為


TabbedPage.SetIsSwipePagingEnabled 方法

定義

多載

SetIsSwipePagingEnabled(BindableObject, Boolean)

設定值,該值控制頁面撥動是否已啟用為提供的 value

SetIsSwipePagingEnabled(IPlatformElementConfiguration<Android,TabbedPage>, Boolean)

設定值,該值控制頁面撥動是否已啟用為提供的 value

SetIsSwipePagingEnabled(BindableObject, Boolean)

設定值,該值控制頁面撥動是否已啟用為提供的 value

public static void SetIsSwipePagingEnabled (Xamarin.Forms.BindableObject element, bool value);
static member SetIsSwipePagingEnabled : Xamarin.Forms.BindableObject * bool -> unit

參數

element
BindableObject

要對其執行作業的平台特定項目。

value
System.Boolean

要指派的新屬性值。

適用於

SetIsSwipePagingEnabled(IPlatformElementConfiguration<Android,TabbedPage>, Boolean)

設定值,該值控制頁面撥動是否已啟用為提供的 value

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.TabbedPage> SetIsSwipePagingEnabled (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.TabbedPage> config, bool value);
static member SetIsSwipePagingEnabled : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.TabbedPage> * bool -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.TabbedPage>

參數

config
IPlatformElementConfiguration<Android,TabbedPage>

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

value
System.Boolean

要指派的新屬性值。

傳回

已更新的組態。

適用於