Exemple #1
0
 internal void BindThemeResourceInternal(ThemeResource themeResource)
 {
     if (IsApplied)
     {
         BindThemeResource(themeResource);
     }
 }
Exemple #2
0
 private static void BindThemeResource(ThemeResource themeResource)
 {
     BindThemeResource(ThemeManager.GetThemeReference(themeResource.ActualKey, false), themeResource);
 }
Exemple #3
0
 internal void AddThemeResourceInternal(ThemeResource themeResource)
 {
     SkinResourceManager.AddThemeResource(themeResource);
 }
Exemple #4
0
 private static void BindThemeResource(ThemeResourceReference themeResourceReference, ThemeResource themeResource)
 {
     if (themeResource != null)
     {
         themeResourceReference?.Bind(themeResource.Value);
     }
 }
Exemple #5
0
 public void AddThemeResource(ThemeResource themeResource)
 {
     AddThemeResource(new KeyValuePair <string, object>(themeResource.ActualKey, themeResource.Value));
 }