TabbedPage.SetIsSwipePagingEnabled 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SetIsSwipePagingEnabled(BindableObject, Boolean) |
設定值,該值控制頁面撥動是否已啟用為提供的 |
SetIsSwipePagingEnabled(IPlatformElementConfiguration<Android,TabbedPage>, Boolean) |
設定值,該值控制頁面撥動是否已啟用為提供的 |
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>
參數
平台特定組態,包含要對其執行作業的項目。
- value
- System.Boolean
要指派的新屬性值。
傳回
已更新的組態。