private ThemeStyleBase GetActualThemeStyle(ThemeStyleBase themeStyleBase) { if (themeStyleBase is ThemeStyle themeStyle) { return(themeStyle.IsDeferred ? null : themeStyle); } return(themeStyleBase); }
internal void BindThemeManagerStyle(ThemeStyleBase themeStyle) { BasedOnCore = GetActualThemeStyle(themeStyle); }