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
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.