From c3ae68533a3219ca07d9f4404092a1b8e336178a Mon Sep 17 00:00:00 2001 From: "huiyu.eun" Date: Thu, 4 Feb 2021 10:27:08 +0900 Subject: [PATCH] [NUI] Add PreLoad of Tizen.NUI.Components.Control Signed-off-by: huiyu.eun --- src/Tizen.NUI.Components/Controls/Control.cs | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.7.4