I would like to implement a message box in my wpf-project. The text is: "Choose Language:" The alternatives are English (OK) and German (Cancel).
In this context, I am trying to customize the buttons in the MessageBox. For doing this, I try to implement the Extended WPF Toolkit, but I have problems in terms of understanding the documentation for the Extended WPF Toolkit.
My code is like this:
"Xceed.Wpf.Toolkit.MessageBox msgBox = new Xceed.Wpf.Toolkit.MessageBox();
msgBox.OkButtonContent = "English";
msgBox.CancelButtonContent = "German";
MessageBoxResult result =msgBox.ShowMessageBox("Choose Language: ", "Language",MessageBoxButton.OKCancel);"
Questions:
1) Are the any other suitable controls to use where the user of the wpf application can choose among alternatives?
2) Where do I find some nice example/documentation for customizing button labels in a message box?