NavigationPage.SetPrefersLargeTitles 方法

定义

重载

SetPrefersLargeTitles(BindableObject, Boolean)

element 的大标题首选项行为设置为 value

SetPrefersLargeTitles(IPlatformElementConfiguration<iOS,NavigationPage>, Boolean)

config 的大标题首选项行为设置为 value

SetPrefersLargeTitles(BindableObject, Boolean)

element 的大标题首选项行为设置为 value

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

参数

element
BindableObject

要设置其首选项的元素。

value
System.Boolean

新的大标题首选项行为。

适用于

SetPrefersLargeTitles(IPlatformElementConfiguration<iOS,NavigationPage>, Boolean)

config 的大标题首选项行为设置为 value

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.NavigationPage> SetPrefersLargeTitles (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.NavigationPage> config, bool value);
static member SetPrefersLargeTitles : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.NavigationPage> * bool -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.NavigationPage>

参数

config
IPlatformElementConfiguration<iOS,NavigationPage>

要设置其首选项的元素。

value
System.Boolean

新的大标题首选项行为。

返回

适用于