TabbedPage.SetHeaderIconsEnabled 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SetHeaderIconsEnabled(BindableObject, Boolean) |
開啟和關閉標頭圖示。 |
SetHeaderIconsEnabled(IPlatformElementConfiguration<Windows,TabbedPage>, Boolean) |
開啟和關閉標頭圖示。 |
SetHeaderIconsEnabled(BindableObject, Boolean)
開啟和關閉標頭圖示。
public static void SetHeaderIconsEnabled (Xamarin.Forms.BindableObject element, bool value);
static member SetHeaderIconsEnabled : Xamarin.Forms.BindableObject * bool -> unit
參數
- element
- BindableObject
要對其執行作業的項目。
- value
- System.Boolean
true
表示啟用標頭圖示。 false
表示停用他們。
適用於
SetHeaderIconsEnabled(IPlatformElementConfiguration<Windows,TabbedPage>, Boolean)
開啟和關閉標頭圖示。
public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows,Xamarin.Forms.TabbedPage> SetHeaderIconsEnabled (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows,Xamarin.Forms.TabbedPage> config, bool value);
static member SetHeaderIconsEnabled : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows, Xamarin.Forms.TabbedPage> * bool -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows, Xamarin.Forms.TabbedPage>
參數
要在其上執行作業的項目平台組態。
- value
- System.Boolean
true
表示啟用標頭圖示。 false
表示停用他們。
傳回
開發人員可能會對其執行進一步方法呼叫的 Fluent 物件。