From: huiyu.eun Date: Thu, 4 Feb 2021 01:27:08 +0000 (+0900) Subject: [NUI] Add PreLoad of Tizen.NUI.Components.Control X-Git-Tag: accepted/tizen/unified/20210219.040944~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=c3ae68533a3219ca07d9f4404092a1b8e336178a;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Add PreLoad of Tizen.NUI.Components.Control Signed-off-by: huiyu.eun --- diff --git a/src/Tizen.NUI.Components/Controls/Control.cs b/src/Tizen.NUI.Components/Controls/Control.cs index 459a349..4cc995c 100755 --- a/src/Tizen.NUI.Components/Controls/Control.cs +++ b/src/Tizen.NUI.Components/Controls/Control.cs @@ -56,6 +56,15 @@ namespace Tizen.NUI.Components } /// + /// This is used to improve theme performance. + /// + [EditorBrowsable(EditorBrowsableState.Never)] + static public void PreLoad() + { + ThemeManager.AddPackageTheme(DefaultThemeCreator.Instance); + } + + /// /// Construct an empty Control. /// /// 6