首页 > 代码库 > WP 前台或后台显示ShellToast

WP 前台或后台显示ShellToast

using Microsoft.Phone.Shell;

 

ShellToast toast = new ShellToast();

toast.Title = "程序标题";

toast.Content = "内容";

toast.NavigationUri = new Uri("/xxx.xaml", UriKind.Relative);

toast.Show();