How to change color of message dialog button? RRS feed

  • Question

  • when ever a message dilaog is popped it contains buttons such as "cancel" , "ok" , is there a way to change color of those buttons?
    Sunday, April 26, 2015 2:04 PM


All replies

  • <SolidColorBrush x:Key="ButtonBackgroundThemeBrush" Color="Transparent" />
    <SolidColorBrush x:Key="ButtonBorderThemeBrush" Color="#FFFFFFFF" />
    <SolidColorBrush x:Key="ButtonForegroundThemeBrush" Color="#FFFFFFFF" />

    Add the above code in app.xaml 

    For more details please refer the following link.


    If my reply meet your answer. Please mark this reply as answer

    Sunday, April 26, 2015 2:29 PM
  • No. The MessageDialog is not customizable. Its button will always show the app's theme color as set in its manifest.
    Sunday, April 26, 2015 3:05 PM