:::: MENU ::::

Custom Pop up dialog box in Windows phone 8.1

If u want to show any notification for a few seconds then you probably prefer pop up dialog box which show message and disappear in few seconds rather than message dialog or content dialog for which you have to press manually to remove it. For one of my application I made a simple popup control to show simple notification like internet connection status or data not found. For this i used TextBlock and wrap it with Border and control its opacity and visibility using blend.

Here is how I did this. [in XAML]

Time Duration of KeyFrame may be little messy (i didn’t edit, it is directly from Blend) but you can edit StoryBoard operation as your wish.

For simplicity I will control its animation in click event of AppBarButton.

You can also make it as user control and use it where u need it. That’s it, my simple pop up box is ready.

Happy Coding!!! 🙂

 


  • Samiksha

    Nice ..

    • hardcode19

      Thanks