How to have in app notification in windows 10?


Earlier in windows phone 8.1 I used to use the ToastPrompt provided by coding4fun toolkit. These notifications are inside the app and are very neat. Is there something like that for Windows 10 UWP. As I couldn't use the same. Code Used currently:

ToastPrompt tp = new ToastPrompt() { Title = "Hi", Message = "Show the message" };

This works on wp 8.1 winrt but fail's to run on win10 Universal.

Edit: Image for clarification: enter image description here

I was looking for something like this which wouldn't show up in the action centre like a normal toast notification. But I realized that It wouldn't be nice with regards to universal apps hence implemented my own local notification. You can check out the app here if you'd like to see what exactly I meant.


If you want just a simple notification that pops in and out and remains inside your app, I wrote a blog post on how to do it on your own (simple but effective): (takes only about 30 minutes to implement).

By : MSicc

This video can help you solving your question :)
By: admin