共用方式為


NavigationPage.PushAsync Method

Definition

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 (Xamarin.Forms.Page page);
member this.PushAsync : Xamarin.Forms.Page -> System.Threading.Tasks.Task

Parameters

page
Page

The Page to present.

Returns

System.Threading.Tasks.Task

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 (Xamarin.Forms.Page page, bool animated);
member this.PushAsync : Xamarin.Forms.Page * bool -> System.Threading.Tasks.Task

Parameters

page
Page
animated
System.Boolean

Returns

System.Threading.Tasks.Task

Applies to