0

My question is how can I show an UIElement for some time (ex. 5s) in current display frame when application is running foreground. Example ToastPrompt from Coding4Fun library or native MessageBox. My goal is to show something like Android style Toast Notification. Can you give me some help?

Here is what I want make but on Windows Phone:

Goal sample image

Community
  • 1
  • 1
Marcin
  • 77
  • 8

1 Answers1

1

You can create custom UserControl with layout you need and animation to display it for seconds

When you need to show your UserControl - get an instance of current Page ((App.Current as App).RootFrame and find root element to add your control to. Look at VisualTreeHelper class, which can help you to do this

Community
  • 1
  • 1
Ku6opr
  • 8,126
  • 2
  • 24
  • 31