示例#1
0
        public static void Preload()
        {
            ThemeManager.AddPackageTheme(Instance);

#if ExternalThemeEnabled
            if (string.IsNullOrEmpty(ExternalThemeManager.CurrentThemeId))
            {
                return;
            }

            ThemeManager.LoadPlatformTheme(ExternalThemeManager.CurrentThemeId);
#endif
        }
示例#2
0
        public void ThemeManagerAddPackageTheme()
        {
            tlog.Debug(tag, $"ThemeManagerAddPackageTheme START");

            try
            {
                ThemeManager.AddPackageTheme(new IThemeCreatorImpy());
            }
            catch (Exception e)
            {
                tlog.Debug(tag, e.Message.ToString());
                Assert.Fail("Caught Exception : Failed!");
            }

            tlog.Debug(tag, $"ThemeManagerAddPackageTheme END (OK)");
        }
示例#3
0
 static CircularProgress()
 {
     ThemeManager.AddPackageTheme(new DefaultThemeCreator());
 }
示例#4
0
 static CircularPagination()
 {
     ThemeManager.AddPackageTheme(DefaultThemeCreator.Instance);
 }
示例#5
0
 /// <summary>
 /// Static constructor to initialize bindable properties when loading.
 /// </summary>
 static CircularScrollbar()
 {
     ThemeManager.AddPackageTheme(DefaultThemeCreator.Instance);
 }
示例#6
0
 static Control()
 {
     ThemeManager.AddPackageTheme(DefaultThemeCreator.Instance);
 }
示例#7
0
 static CircularProgress()
 {
     ThemeManager.AddPackageTheme(DefaultThemeCreator.Instance);
 }
示例#8
0
 static ControlStyle()
 {
     ThemeManager.AddPackageTheme(new DefaultThemeCreator());
 }
示例#9
0
 public static void Preload()
 {
     ThemeManager.AddPackageTheme(Instance);
     Instance.GetExternalThemeKeyListSet();
 }
示例#10
0
 static Notification()
 {
     ThemeManager.AddPackageTheme(DefaultThemeCreator.Instance);
 }
示例#11
0
 static CircularPagination()
 {
     ThemeManager.AddPackageTheme(new DefaultThemeCreator());
 }
示例#12
0
 /// <summary>
 /// Static constructor to initialize bindable properties when loading.
 /// </summary>
 static CircularScrollbar()
 {
     ThemeManager.AddPackageTheme(new DefaultThemeCreator());
 }