Share via


NavigationProxy.PushAsync Method

Definition

Overloads

Name Description
PushAsync(Page)

Pushes a page onto the navigation stack with animation.

PushAsync(Page, Boolean)

Pushes a page onto the navigation stack.

PushAsync(Page)

Source:
NavigationProxy.cs
Source:
NavigationProxy.cs
Source:
NavigationProxy.cs

Pushes a page onto the navigation stack with animation.

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

Parameters

root
Page

The page to push.

Returns

A task representing the operation.

Implements

Applies to

PushAsync(Page, Boolean)

Source:
NavigationProxy.cs
Source:
NavigationProxy.cs
Source:
NavigationProxy.cs

Pushes a page onto the navigation stack.

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

Parameters

root
Page

The page to push.

animated
Boolean

Whether to animate the transition.

Returns

A task representing the operation.

Implements

Applies to