Ejemplo n.º 1
0
 private void Dialog_Loaded(object sender, RoutedEventArgs e)
 {
     switch (this.DialogSettings.ColorScheme)
     {
     case MetroDialogColorScheme.Accented:
         this.PART_NegativeButton.Style = this.FindResource("HighlightedSquareButtonStyle") as Style;
         PART_ProfileComboBox.SetResourceReference(ForegroundProperty, "BlackColorBrush");
         break;
     }
 }