Click here to Skip to main content
15,888,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi in a Silverlight project I am using the following code for shoeing a message box, It works ,but is it possible changing its Language? I mean that I want to have custom items instead of Ok and Cancel button.
C#
if (MessageBox.Show("Message", "header", MessageBoxButton.OKCancel) == MessageBoxResult.Cancel)
              { return; }


and
C#
MessageBox.Show("message", "", MessageBoxButton.OK);


and I do not create another custom message box
thanks.
Posted

1 solution

Hi Angela, there is no way to do that without a custom message box. Only title and message can be changed.

This example[^] is very interesting.

Best regards.
 
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