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