Esempio n. 1
0
 public UITheme()
 {
     AppTheme                 = Colors.Tomato;
     MainBackground           = new UIBrush();
     BottomTweetBarBackground = new UIBrush();
     BottomAppBarBackground   = new UIBrush();
     TopAppBarBackground      = new UIBrush();
     SettingsFlyoutBackground = new UIBrush();
 }
 public object ConvertBack(object value, Type targetType, object parameter, string language)
 {
     if (value != null)
     {
         var c = value as SolidColorBrush;
         UIBrush brush = new UIBrush();
         brush.IsImageEnable = false;
         brush.UIColor = c.Color;
         return brush;
     }
     else
     {
         return new UIBrush();
     }
 }