WP 前台或后台显示ShellToast

using Microsoft.Phone.Shell;

 

ShellToast toast = new ShellToast();

toast.Title = "程序标题";

toast.Content = "内容";

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

toast.Show();

posted @ 2014-05-05 17:29  daniel肥杰  阅读(576)  评论(2编辑  收藏  举报