This project has moved. For the latest updates, please go here.

MessageBox WindowStyle

Jun 7, 2011 at 8:18 AM

Hi,

I would like to set the Messagebox WindowStyle to NONE, can someone tell me how to do it ?

My goal is to have a window with round corners ans window style set to none.

Thank you,

Jun 7, 2011 at 5:09 PM

You will need to re-template the control.

Jun 8, 2011 at 1:29 PM

Hi,

Could you please give me a simple example ?

Thank you,

Jun 8, 2011 at 2:29 PM

Simply grab the MessageBox template from the source code located in the MessageBox -> Themes -> Generic.xaml.  Place it in your App.xaml or a resource dictionary in your app.xaml and modify it to fit your needs.