共用方式為


TabbedPage.SetHeaderIconsEnabled 方法

定義

多載

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>

參數

config
IPlatformElementConfiguration<Windows,TabbedPage>

要在其上執行作業的項目平台組態。

value
System.Boolean

true 表示啟用標頭圖示。 false 表示停用他們。

傳回

開發人員可能會對其執行進一步方法呼叫的 Fluent 物件。

適用於