NavigationPage 类

定义

Microsoft.Maui.Controls 在 iOS 平台上创建的导航页实例。

public ref class NavigationPage abstract sealed
public static class NavigationPage
type NavigationPage = class
Public Module NavigationPage
继承
NavigationPage

字段

HideNavigationBarSeparatorProperty

HideNavigationBarSeparator(IPlatformElementConfiguration<iOS,NavigationPage>)可绑定属性。

IsNavigationBarTranslucentProperty

IsNavigationBarTranslucent(IPlatformElementConfiguration<iOS,NavigationPage>)可绑定属性。

PrefersLargeTitlesProperty

PrefersLargeTitles(IPlatformElementConfiguration<iOS,NavigationPage>)可绑定属性。

StatusBarTextColorModeProperty

StatusBarTextColorMode可绑定属性。

方法

DisableTranslucentNavigationBar(IPlatformElementConfiguration<iOS,NavigationPage>)

使导航栏在特定于平台的元素上不透明。

EnableTranslucentNavigationBar(IPlatformElementConfiguration<iOS,NavigationPage>)

使导航栏在特定于平台的元素上半透明。

GetHideNavigationBarSeparator(BindableObject)

如果分隔符处于隐藏状态,则返回 true。 否则返回 false

GetIsNavigationBarTranslucent(BindableObject)

返回布尔值,该值指示特定于平台的导航页面上的导航栏是否为半透明。

GetPrefersLargeTitles(BindableObject)

返回 element 的大标题首选项。

GetStatusBarTextColorMode(BindableObject)

返回一个值,用于控制是否调整状态栏文本颜色以匹配特定于平台的导航页面的导航栏亮度。

GetStatusBarTextColorMode(IPlatformElementConfiguration<iOS,NavigationPage>)

返回一个值,用于控制是否调整状态栏文本颜色以匹配特定于平台的导航页面的导航栏亮度。

HideNavigationBarSeparator(IPlatformElementConfiguration<iOS,NavigationPage>)

如果分隔符处于隐藏状态,则返回 true。 否则返回 false

IsNavigationBarTranslucent(IPlatformElementConfiguration<iOS,NavigationPage>)

返回布尔值,该值指示特定于平台的导航页面上的导航栏是否为半透明。

PrefersLargeTitles(IPlatformElementConfiguration<iOS,NavigationPage>)

返回指示元素的大标题首选项的值。

SetHideNavigationBarSeparator(BindableObject, Boolean)

开发人员将其设置为 true 以隐藏分隔符。 否则为 false

SetHideNavigationBarSeparator(IPlatformElementConfiguration<iOS,NavigationPage>, Boolean)

开发人员将其设置为 true 以隐藏分隔符。 否则为 false

SetIsNavigationBarTranslucent(BindableObject, Boolean)

设置布尔值,用于控制特定于平台的导航页面上的导航栏是否为半透明。

SetIsNavigationBarTranslucent(IPlatformElementConfiguration<iOS,NavigationPage>, Boolean)

设置布尔值,用于控制特定于平台的导航页面上的导航栏是否为半透明。

SetPrefersLargeTitles(BindableObject, Boolean)

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

SetPrefersLargeTitles(IPlatformElementConfiguration<iOS,NavigationPage>, Boolean)

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

SetStatusBarTextColorMode(BindableObject, StatusBarTextColorMode)

设置一个值,用于控制是否调整状态栏文本颜色以匹配特定于平台的导航页面的导航栏亮度。

SetStatusBarTextColorMode(IPlatformElementConfiguration<iOS,NavigationPage>, StatusBarTextColorMode)

设置一个值,用于控制是否调整状态栏文本颜色以匹配特定于平台的导航页面的导航栏亮度。

适用于