How to make the message disappear after 3 seconds?

I have a confirmation screen in my application where I tell the user that his item has been saved successfully. He can click “OK” and the message will go, but if he does not, how can I turn off the message box after 3 seconds if there is no answer?

+2
windows-phone-7 messagebox
Mar 12 '12 at 20:14
source share
2 answers

According to MSDN, it is impossible to close the message window without a user action (no method is provided for this action) http://msdn.microsoft.com/en-us/library/system.windows.messagebox_methods(v=vs.95).aspx

+6
Mar 12 2018-12-12T00:
source share
— -

If your message box does not require user action, use Toast Prompt from the Coding4Fun toolkit.

http://coding4fun.codeplex.com/

+3
Mar 13 '12 at 6:32
source share



All Articles