Share via


NavigationPage 類別

定義

Xamarin.Forms 在 iOS 平台上建立的巡覽頁執行個體。

public static class NavigationPage
type NavigationPage = class
繼承
System.Object
NavigationPage

欄位

HideNavigationBarSeparatorProperty

附加屬性的備份存放區,控制是否隱藏導覽列分隔符號。

IsNavigationBarTranslucentProperty

IsNavigationBarTranslucent(IPlatformElementConfiguration<iOS,NavigationPage>) 方法的備份存放區。

PrefersLargeTitlesProperty

附加屬性的備份存放區,該屬性控制巡覽頁的大型標題喜好設定。

StatusBarTextColorModeProperty

附加屬性的備份存放區,該屬性控制狀態列文字色彩是否會調整至符合平台特定巡覽頁巡覽列的亮度。

方法

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)

設定值,控制狀態列文字色彩是否會調整至符合平台特定巡覽頁巡覽列的亮度。

適用於