0

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?

nsds
  • 961
  • 4
  • 13
  • 39
  • That doesn't make a good UX. Why not validate by disabling any submit button and indicating the error in a label? – afaolek Mar 02 '18 at 14:52

1 Answers1

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
  • 1
    This 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