Example #1
0
        private ThemeStyleBase GetActualThemeStyle(ThemeStyleBase themeStyleBase)
        {
            if (themeStyleBase is ThemeStyle themeStyle)
            {
                return(themeStyle.IsDeferred ? null : themeStyle);
            }

            return(themeStyleBase);
        }
Example #2
0
 internal void BindThemeManagerStyle(ThemeStyleBase themeStyle)
 {
     BasedOnCore = GetActualThemeStyle(themeStyle);
 }