Search code examples
wpfmodal-dialogfading

Modal dialog box with fading background?


In my WPF application, when there is no user activity for 2 minutes, the application logs off.

I need to show the login box in the silverlight style (Background fades off). How can this be accomplished in WPF?


Solution

  • Yes you are right using adorner you can do this.

    there are many articles there.. try these

    http://techiethings.blogspot.com/2009/12/web-style-wpf-popup.html

    http://bignickolson.com/2009/10/15/overlaying-controls-in-wpf-with-adorners/

    Regards.