Search code examples
uwpwindows-10-mobiletemplate10

Recommend Method to Display message to user


Loving Template10, but I'm wondering what the preferred method is to display a message to the user for a phone based app. For example in the Windows Phone app I'm writing I want to let the user know that I was unable to get their location (maybe they are in an elevator and unable to get a GPS reading), so we can't do some calculations and display some results without that location.

Thanks


Solution

  • You can use a classic MessageDialog. If you want something less "blocking", just show a toast, there is a helper to do it in the Coding4Fun toolkit.