In Windows 8, there are three kinds of notifications in a timely manner to remind users that they are Toast,tile,badge
Toast: is a reminder notification that pops up in the application in a timely manner.
Tile: is a magnetic notice, used in the Metro interface of the application icon on the picture and text notification.
Badge: Is in the magnetic paste tips notice, used in the Metro interface of the application icon in the lower right corner to indicate how many new messages or current application state, such as (playing paused newmessage) and so on.
Preparation: First: Refer to the NOTIFICATIONSEXTENSIONS.WINMD library, which is the encapsulation of simplified access to various notifications.
Second: Open package.appxmanifest to reset the various logos.
Finally: Open Package.appxmanifest, set "Support Toast Notification" as "yes".
Toast:
private void Toastnotice_click (object sender, RoutedEventArgs e)
{
//toast notification text and picture settings
IToastImageAndText01 Toast = toastcontentfactory.createtoastimageandtext01 ();
Toast.TextBodyWrap.Text = "The end of the world today Countdown 10 days!" ";
TOAST.IMAGE.SRC = "Http://news.shangdu.com/301/20120512/P_5626361_0__1686841290.jpg";
Toastnotificationmanager.createtoastnotifier (). Show (Toast.createnotification ());
}
Effect Picture: