public static bool IsThemeDictionary(ResourceDictionary resourceDictionary) { return(Theme.IsThemeDictionary(resourceDictionary) || ResourceDictionaryHelper.ContainsKey(resourceDictionary, LibraryThemeInstanceKey)); }
public static bool IsRuntimeGeneratedThemeDictionary(ResourceDictionary resourceDictionary) { return(Theme.IsRuntimeGeneratedThemeDictionary(resourceDictionary) || (ResourceDictionaryHelper.ContainsKey(resourceDictionary, LibraryThemeInstanceKey) && ((LibraryTheme)resourceDictionary[LibraryThemeInstanceKey]).IsRuntimeGenerated)); }
public static string?GetThemeName(ResourceDictionary resourceDictionary) { return(Theme.GetThemeName(resourceDictionary)); }