NavigationPage.PushAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| PushAsync(Page) |
Asynchronously pushes a page onto the navigation stack. |
| PushAsync(Page, Boolean) |
Asynchronously pushes a page onto the navigation stack, with optional animation. |
PushAsync(Page)
- Source:
- NavigationPage.cs
- Source:
- NavigationPage.cs
- Source:
- NavigationPage.cs
Asynchronously pushes a page 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 push onto the navigation stack.
Returns
A task that represents the asynchronous push operation.
Applies to
PushAsync(Page, Boolean)
- Source:
- NavigationPage.cs
- Source:
- NavigationPage.cs
- Source:
- NavigationPage.cs
Asynchronously pushes 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
The page to push onto the navigation stack.
- animated
- Boolean
Whether to animate the transition.
Returns
A task that represents the asynchronous push operation.