Share via


NavigationProxy.PushModalAsync Method

Definition

Overloads

Name Description
PushModalAsync(Page)

Presents a page modally with animation.

PushModalAsync(Page, Boolean)

Presents a page modally.

PushModalAsync(Page)

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

Presents a page modally with animation.

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

Parameters

modal
Page

The page to present modally.

Returns

A task representing the operation.

Implements

Applies to

PushModalAsync(Page, Boolean)

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

Presents a page modally.

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

Parameters

modal
Page

The page to present modally.

animated
Boolean

Whether to animate the transition.

Returns

A task representing the operation.

Implements

Applies to