I want to validate email address and need to show error message as a toast. I followed this link. It shows toast well. But those toast messages are coming as notification on notification area of device. Actually for validation purposes we really don't need those notification, only need to show toast on current page. How to do it?
Asked
Active
Viewed 362 times
1 Answers
3
if only want it on the page you have to use a xaml control and don't use the notification check the Windows Community toolkit; it has a in app notification control. maybe that one is useful for you https://learn.microsoft.com/en-us/windows/uwpcommunitytoolkit/controls/inappnotification

Dave Smits
- 1,871
- 14
- 22
-
1This is the correct answer. Using notifications for this is not the correct usage of notifications. OP is likely coming from an Android background, where a "toast" is a brief in-context text popup, whereas in Windows, a "toast" is a notification. – Andrew Leader Mar 02 '18 at 17:18