NavigationPage.SetPrefersLargeTitles 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SetPrefersLargeTitles(BindableObject, Boolean) |
将 |
SetPrefersLargeTitles(IPlatformElementConfiguration<iOS,NavigationPage>, Boolean) |
将 |
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>
参数
要设置其首选项的元素。
- value
- System.Boolean
新的大标题首选项行为。