Xamarin.Forms.NavigationPage Members

The members of Xamarin.Forms.NavigationPage are listed below.

See Also: Inherited members from Xamarin.Forms.Page

Public Constructors

Initializes a new Xamarin.Forms.NavigationPage object.
Creates a new Xamarin.Forms.NavigationPage element with root as its root element.

Public Fields

static readonly
BackButtonTitlePropertyBindableProperty. Identifies the property associated with the title of the back button.
static readonly
BarBackgroundColorPropertyBindableProperty. Identifies the property associated with the color of the NavigationPage's bar background color.
static readonly
BarTextColorPropertyBindableProperty. Identifies the property associated with the color of the NavigationPage's bar text color.
static readonly
CurrentPagePropertyBindableProperty. Identifies the NavigationPage.CurrentPage property.
static readonly
HasBackButtonPropertyBindableProperty. Backing store for the HasBackButton property.
static readonly
HasNavigationBarPropertyBindableProperty. Backing store for the HasNavigationBar property.
static readonly
TintPropertyBindableProperty. Identifies the NavigationPage.Tint bindable property.
static readonly
TitleIconPropertyBindableProperty. Indicates the NavigationPage.SetTitleIcon/NavigationPage.GetTitleIcon property.

Public Properties

BarBackgroundColorColor. Gets or sets the background color for the bar at the top of the NavigationPage.
BarTextColorColor. Gets or sets the text that appears on the bar at the top of the NavigationPage.
[read-only]
CurrentPagePage. The Xamarin.Forms.Page that is currently top-most on the navigation stack.
TintColor. The color to be used as the Tint of the Xamarin.Forms.NavigationPage.

Public Methods

static
GetBackButtonTitle(BindableObject) : string
The title of the back button for the specified page.
static
GetHasBackButton(Page) : bool
Returns a value that indicates whether page has a back button.
static
GetHasNavigationBar(BindableObject) : bool
Returns a value that indicates whether the page has a navigation bar.
static
GetTitleIcon(BindableObject) : FileImageSource
Retrieves the path to the file providing the title icon for the bindable.
PopAsync() : System.Threading.Tasks.Task<Page>
Asynchronously removes the top Xamarin.Forms.Page from the navigation stack.
PopAsync(bool) : System.Threading.Tasks.Task<Page>
Asynchronously removes the top Xamarin.Forms.Page from the navigation stack, with optional animation.
PopToRootAsync() : System.Threading.Tasks.Task
Pops all but the root Xamarin.Forms.Page off the navigation stack.
PopToRootAsync(bool) : System.Threading.Tasks.Task
A task for asynchronously popping all pages off of the navigation stack.
PushAsync(Page) : System.Threading.Tasks.Task
Presents a Xamarin.Forms.Page modally.
PushAsync(Page, bool) : System.Threading.Tasks.Task
A task for asynchronously pushing a page onto the navigation stack, with optional animation.
static
SetBackButtonTitle(BindableObject, string)
Sets the title that appears on the back button for page.
static
SetHasBackButton(Page, bool)
Adds or removes a back button to page, with optional animation.
static
SetHasNavigationBar(BindableObject, bool)
Sets a value that indicates whether or not this Xamarin.Forms.NavigationPage element has a navigation bar.
static
SetTitleIcon(BindableObject, FileImageSource)
Sets the title icon of the bindable to the icon file at value.

Protected Methods

override
OnBackButtonPressed() : bool
Event that is raised when the back button is pressed.

Public Events

PoppedEvent that is raised after a page is popped from this Xamarin.Forms.NavigationPage element.
PoppedToRootEvent that is raised when the last nonroot element is popped from this Xamarin.Forms.NavigationPage element.
PushedEvent that is raised when a page is pushed onto this Xamarin.Forms.NavigationPage element.