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