NavigableElementExtensions.ShowPopupAsync<T> 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.
Displays a poup and returns a result.
public static System.Threading.Tasks.Task<T>? ShowPopupAsync<T>(this Xamarin.Forms.NavigableElement element, Xamarin.CommunityToolkit.UI.Views.Popup<T>? popup);
Type Parameters
- T
The T result that is returned when the popup is dismissed.
Parameters
- element
- NavigableElement
The current NavigableElement that has a valid INavigation.
Returns
A task that will complete once the Popup<T> is dismissed.