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)
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)
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈