Exemple #1
0
 static ThemeManager()
 {
     themes = new Dictionary <Platform, ResourceDictionary>()
     {
         {
             Platform.Android, new ResourceDictionary()
             {
                 Source = UriUtils.GetAbsolute("Themes/Platforms/AndroidStyle.xaml")
             }
         },
         {
             Platform.iOS, new ResourceDictionary()
             {
                 Source = UriUtils.GetAbsolute("Themes/Platforms/iOSStyle.xaml")
             }
         },
         {
             Platform.Window, new ResourceDictionary()
             {
                 Source = UriUtils.GetAbsolute("Themes/Platforms/WindowStyle.xaml")
             }
         }
     };
 }