Share via


NavigationPage.PushAsync Method

Definition

Overloads

PushAsync(Page)

Presents a Page by asynchronously pushing it onto the navigation stack.

PushAsync(Page, Boolean)

A task for asynchronously pushing a page onto the navigation stack, with optional animation.

PushAsync(Page)

Source:
NavigationPage.cs
Source:
NavigationPage.cs

Presents a Page by asynchronously pushing it onto the navigation stack.

public:
 System::Threading::Tasks::Task ^ PushAsync(Microsoft::Maui::Controls::Page ^ page);
public System.Threading.Tasks.Task PushAsync (Microsoft.Maui.Controls.Page page);
member this.PushAsync : Microsoft.Maui.Controls.Page -> System.Threading.Tasks.Task
Public Function PushAsync (page As Page) As Task

Parameters

page
Page

The Page to present.

Returns

An awaitable Task, indicating the Push completion.

Applies to

PushAsync(Page, Boolean)

Source:
NavigationPage.cs
Source:
NavigationPage.cs

A task for asynchronously pushing a page onto the navigation stack, with optional animation.

public:
 System::Threading::Tasks::Task ^ PushAsync(Microsoft::Maui::Controls::Page ^ page, bool animated);
public System.Threading.Tasks.Task PushAsync (Microsoft.Maui.Controls.Page page, bool animated);
member this.PushAsync : Microsoft.Maui.Controls.Page * bool -> System.Threading.Tasks.Task
Public Function PushAsync (page As Page, animated As Boolean) As Task

Parameters

page
Page
animated
Boolean

Returns

Applies to