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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET MAUI