[NUI] Add constructors with string style to apply string style
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Thu, 16 Feb 2023 10:17:18 +0000 (19:17 +0900)
committerJaehyun Cho <jaehyun0cho@gmail.com>
Thu, 16 Feb 2023 10:37:42 +0000 (19:37 +0900)
To apply string style during constructing controls, constructors with
string style are added.

src/Tizen.NUI.Components/Controls/Dialog.cs
src/Tizen.NUI.Components/Controls/Navigation/ContentPage.cs
src/Tizen.NUI.Components/Controls/Navigation/DialogPage.cs
src/Tizen.NUI.Components/Controls/Navigation/Navigator.cs
src/Tizen.NUI.Components/Controls/Navigation/Page.cs
src/Tizen.NUI.Components/Controls/ScrollableBase.cs
src/Tizen.NUI.Components/Controls/TabBar.cs
src/Tizen.NUI.Components/Controls/TabContent.cs
src/Tizen.NUI.Components/Controls/TabView.cs

index dc5440418516a632912e8933712c97fe5d30e6fe..3bf4ee9af36eabc950a2c27ff70c91d77812d0cb 100755 (executable)
@@ -64,6 +64,16 @@ namespace Tizen.NUI.Components
             Initialize();
         }
 
+        /// <summary>
+        /// Creates a new instance of Dialog with style.
+        /// </summary>
+        /// <param name="style">Creates Dialog by special style defined in UX.</param>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public Dialog(string style) : base(style)
+        {
+            Initialize();
+        }
+
         /// <summary>
         /// Creates a new instance of a Dialog with style.
         /// </summary>
index 2e54a709d0151a77b5e063c3c1aa6be6ae0888bd..227770ab8095f2512df5bba8d30ac74b84f656cf 100755 (executable)
@@ -47,6 +47,16 @@ namespace Tizen.NUI.Components
             Initialize();
         }
 
+        /// <summary>
+        /// Creates a new instance of ContentPage with style.
+        /// </summary>
+        /// <param name="style">Creates ContentPage by special style defined in UX.</param>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public ContentPage(string style) : base(style)
+        {
+            Initialize();
+        }
+
         /// <summary>
         /// Creates a new instance of a ContentPage with style.
         /// </summary>
index 5cb790369b70a0ac40195e722a6f6e9e4ab1c029..5931fabfe7761790c07c592aaa0ad85fc826dc02 100755 (executable)
@@ -56,6 +56,16 @@ namespace Tizen.NUI.Components
             Initialize();
         }
 
+        /// <summary>
+        /// Creates a new instance of DialogPage with style.
+        /// </summary>
+        /// <param name="style">Creates DialogPage by special style defined in UX.</param>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public DialogPage(string style) : base(style)
+        {
+            Initialize();
+        }
+
         /// <summary>
         /// Creates a new instance of a DialogPage with style.
         /// </summary>
index 77b5ac441455bfc39ebc5f8dae5a2577aaac6def..b0ccc7a2f2e9468debe62bcdc16032ca0bf3dd2d 100755 (executable)
@@ -131,6 +131,16 @@ namespace Tizen.NUI.Components
             Initialize();
         }
 
+        /// <summary>
+        /// Creates a new instance of Navigator with style.
+        /// </summary>
+        /// <param name="style">Creates Navigator by special style defined in UX.</param>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public Navigator(string style) : base(style)
+        {
+            Initialize();
+        }
+
         /// <summary>
         /// Creates a new instance of a Navigator with style.
         /// </summary>
index e2227c47baee923440db18ff8cf75323ea191895..f07185902a8a563a1847b81dbfe6f2ad73fe63c3 100755 (executable)
@@ -113,6 +113,15 @@ namespace Tizen.NUI.Components
         {
         }
 
+        /// <summary>
+        /// Creates a new instance of Page with style.
+        /// </summary>
+        /// <param name="style">Creates Page by special style defined in UX.</param>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public Page(string style) : base(style)
+        {
+        }
+
         /// <summary>
         /// Creates a new instance of a Page with style.
         /// </summary>
index 04c3a653c8d8a95eb047dfa93d98e98b7dd577e6..f2a0759b2f2108b7e75da243359d8c84f309f7c0 100755 (executable)
@@ -956,6 +956,16 @@ namespace Tizen.NUI.Components
             Initialize();
         }
 
+        /// <summary>
+        /// Creates a new instance of a ScrollableBase with style.
+        /// </summary>
+        /// <param name="style">Creates ScrollableBase by special style defined in UX.</param>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public ScrollableBase(string style) : base(style)
+        {
+            Initialize();
+        }
+
         /// <summary>
         /// Creates a new instance of a ScrollableBase with style.
         /// </summary>
index 606c6ad369f721d26c657552cc304c75c9ccbe27..48b5adcab0a870b39bc5327c17af266684b6e53b 100755 (executable)
@@ -77,6 +77,16 @@ namespace Tizen.NUI.Components
             Initialize();
         }
 
+        /// <summary>
+        /// Creates a new instance of TabBar with style.
+        /// </summary>
+        /// <param name="style">Creates TabBar by special style defined in UX.</param>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public TabBar(string style) : base(style)
+        {
+            Initialize();
+        }
+
         /// <summary>
         /// Creates a new instance of a TabBar with style.
         /// </summary>
index b0fef973504b44ca09a20b1333da9658b40985e0..3451f8020b4150569b177295d87291aba3901df7 100755 (executable)
@@ -44,6 +44,16 @@ namespace Tizen.NUI.Components
             Initialize();
         }
 
+        /// <summary>
+        /// Creates a new instance of TabContent with style.
+        /// </summary>
+        /// <param name="style">Creates TabContent by special style defined in UX.</param>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public TabContent(string style) : base(style)
+        {
+            Initialize();
+        }
+
         /// <summary>
         /// Creates a new instance of a TabContent with style.
         /// </summary>
index 3969a907d5c4d54d12aab7f68d0d691a81f54c7b..897e35893bba3b01743b2e32eb9b832d9b037f8c 100755 (executable)
@@ -108,6 +108,16 @@ namespace Tizen.NUI.Components
             Initialize();
         }
 
+        /// <summary>
+        /// Creates a new instance of TabView.
+        /// </summary>
+        /// <param name="style">Creates TabView by special style defined in UX.</param>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public TabView(string style) : base(style)
+        {
+            Initialize();
+        }
+
         /// <summary>
         /// Creates a new instance of a TabView with style.
         /// </summary>