Reputation: 4081
I would like to show 3 buttons on a MessageBox. I found the Guide.BeginShowMessageBox method, but it isn't working with 3 buttons. Here is my code:
Guide.BeginShowMessageBox("Info", "This is a test messsage.",
new List<string> { "OK", "Retry", "Cancel" }, 0, MessageBoxIcon.Warning,
asyncResult =>
{
int? returned = Guide.EndShowMessageBox(asyncResult);
Debug.WriteLine(returned.ToString());
}, null);
Thanks, Laci
Upvotes: 0
Views: 899
Reputation: 27235
From MSDN:
The maximum number of buttons is two on Windows Phone, and three on Xbox 360 or Windows.
Are you on Windows Phone?
Upvotes: 1