Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
4.50/5 (2 votes)
See more:
Hi, is it possible to change the style of a message box in WPF or would I need to create a new page/window and do it that way?

Cheers

Dan
Posted

 
Share this answer
 
Comments
DanHodgson88 27-Jul-11 6:26am    
Thanks for that maybe slightly more indepth than I was looking for, but top quality resource! 5*
Prerak Patel 27-Jul-11 6:34am    
You are welcome Dan
Better yet, use the WPF Extended Toolkit's MessageBox and style it in your App.xaml.

http://wpftoolkit.codeplex.com/wikipage?title=MessageBox&referringTitle=Home
 
Share this answer
 
I think its better to create your own MessageBoxView.xaml and customize that in whatever manner you want rather than modifying the System Provide messagebox, this will provide you greater Flexibility with your code.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900