[NUI] Rollback split-nui (#887)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / XamlBinding / Device.cs
@@ -5,9 +5,9 @@ using System.IO;
 using System.Reflection;
 using System.Threading;
 using System.Threading.Tasks;
-using Tizen.NUI.XamlBinding.Internals;
+using Tizen.NUI.Binding.Internals;
 
-namespace Tizen.NUI.XamlBinding
+namespace Tizen.NUI.Binding
 {
     internal static class Device
     {
@@ -83,9 +83,7 @@ namespace Tizen.NUI.XamlBinding
             get
             {
                 if (s_platformServices == null)
-                {
-                    s_platformServices = new TizenPlatformServices();
-                }
+                    throw new InvalidOperationException("You MUST call Tizen.NUI.Init(); prior to using it.");
                 return s_platformServices;
             }
             set
@@ -210,17 +208,17 @@ namespace Tizen.NUI.XamlBinding
 
             public static readonly string CaptionStyleKey = "CaptionStyle";
 
-            public static readonly Style TitleStyle = new Style(typeof(Tizen.NUI.Xaml.Forms.BaseComponents.TextLabel)) { BaseResourceKey = TitleStyleKey };
+            public static readonly Style TitleStyle = new Style(typeof(Tizen.NUI.BaseComponents.TextLabel)) { BaseResourceKey = TitleStyleKey };
 
-            public static readonly Style SubtitleStyle = new Style(typeof(Tizen.NUI.Xaml.Forms.BaseComponents.TextLabel)) { BaseResourceKey = SubtitleStyleKey };
+            public static readonly Style SubtitleStyle = new Style(typeof(Tizen.NUI.BaseComponents.TextLabel)) { BaseResourceKey = SubtitleStyleKey };
 
-            public static readonly Style BodyStyle = new Style(typeof(Tizen.NUI.Xaml.Forms.BaseComponents.TextLabel)) { BaseResourceKey = BodyStyleKey };
+            public static readonly Style BodyStyle = new Style(typeof(Tizen.NUI.BaseComponents.TextLabel)) { BaseResourceKey = BodyStyleKey };
 
-            public static readonly Style ListItemTextStyle = new Style(typeof(Tizen.NUI.Xaml.Forms.BaseComponents.TextLabel)) { BaseResourceKey = ListItemTextStyleKey };
+            public static readonly Style ListItemTextStyle = new Style(typeof(Tizen.NUI.BaseComponents.TextLabel)) { BaseResourceKey = ListItemTextStyleKey };
 
-            public static readonly Style ListItemDetailTextStyle = new Style(typeof(Tizen.NUI.Xaml.Forms.BaseComponents.TextLabel)) { BaseResourceKey = ListItemDetailTextStyleKey };
+            public static readonly Style ListItemDetailTextStyle = new Style(typeof(Tizen.NUI.BaseComponents.TextLabel)) { BaseResourceKey = ListItemDetailTextStyleKey };
 
-            public static readonly Style CaptionStyle = new Style(typeof(Tizen.NUI.Xaml.Forms.BaseComponents.TextLabel)) { BaseResourceKey = CaptionStyleKey };
+            public static readonly Style CaptionStyle = new Style(typeof(Tizen.NUI.BaseComponents.TextLabel)) { BaseResourceKey = CaptionStyleKey };
         }
     }
 }