Embed a live toast in your Windows 10 Universal App
There is a post " Embed a live tile in your Windows 10 app! " in MSDN blog. I will "extend it" to Preview Toast message in the app. Similar to PreviewTile, you would have add following features in XAML. <Pages: xmlns:visualizer="using:NotificationsVisualizerLibrary" ... > <library:PreviewToast x:Name="PreviewToastDesktop" ActivatedBackground="PreviewToastDesktop_ActivatedBackground" ActivatedForeground="PreviewToastDesktop_ActivatedForeground" ActivatedProtocol="PreviewToastDesktop_ActivatedProtocol" ActivatedSystem="PreviewToastDesktop_ActivatedSystem"/> And then ad following lines in your code: //Construct a toast XML payload var payload="<toast><visual><binding template="ToastText01"><text id="1">Hello</text></binding></visual></toast>"; //Initialize the previewToast contral previewT...