Share via


NavigationExtensions.ShowPopupAsync<T> Method

Definition

Displays a popup and returns a result.

public static System.Threading.Tasks.Task<T>? ShowPopupAsync<T>(this Xamarin.Forms.INavigation navigation, Xamarin.CommunityToolkit.UI.Views.Popup<T>? popup);

Type Parameters

T

The T result that is returned when the popup is dismissed.

Parameters

navigation
INavigation

The current INavigation.

popup
Popup<T>

The Popup<T> to display.

Returns

System.Threading.Tasks.Task<T>

A task that will complete once the Popup<T> is dismissed.

Applies to