Beispiel #1
0
 private async void ThemeSettingsService_OnAccentColorChanged(object sender, Color color)
 {
     await _dispatcher.CallOnUIThreadAsync(() =>
     {
         if (Sets.Items == null)
         {
             return;
         }
         foreach (SetsViewItem item in Sets.Items)
         {
             item.Icon.Foreground = new SolidColorBrush(color);
             item.SelectionIndicatorForeground = new SolidColorBrush(color);
         }
     });
 }