Search code examples
xamluwp

Is there any way to change default button color of message dialog in uwp?


I just want to change color of default button "OK" in message dialog


Solution

  • After a lot of exploration I found it is not possible to customize it. But found some interesting thing too as I detailed below:

    1.You can add more button or skip default button by add more UiCommand.

    2.Yes you can change its default button background blue color but it is possible to change in manifest file which will set it default color for whole application.

    Actually much better to use Content dialog for customization purpose. but above points are also useful in specific requirement.