I want to add 4 options in a MessageDialog in C# Windows Store App. I can add 3 options like this example: http://msdn.microsoft.com/en-us/library/windows/apps/dn308255.aspx
But when I am going to app 4th option it throws exception
"The operation attempted to access data outside the valid range (Exception from HRESULT: 0x8000000B)"
Is it not possible to add more than 3 options?
The message dialog has a command bar that can support up to three commands. If you don't specify any commands, then a default command is added to close the dialog. if you want to add more option try to override MessageDialog class.
User contributions licensed under CC BY-SA 3.0