PageExtension.DisplayToastAsync 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.
Overloads
DisplayToastAsync(Page, ToastOptions)
public static System.Threading.Tasks.Task DisplayToastAsync(this Xamarin.Forms.Page page, Xamarin.CommunityToolkit.UI.Views.Options.ToastOptions toastOptions);
Parameters
- page
- Page
- toastOptions
- ToastOptions
Returns
System.Threading.Tasks.Task
Applies to
DisplayToastAsync(Page, String, Int32)
public static System.Threading.Tasks.Task DisplayToastAsync(this Xamarin.Forms.Page page, string message, int durationMilliseconds = 3000);
Parameters
- page
- Page
- message
- System.String
- durationMilliseconds
- System.Int32
Returns
System.Threading.Tasks.Task