[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)
committerEunki Hong <h.pichulia@gmail.com>
Tue, 21 Feb 2023 11:04:00 +0000 (20:04 +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 94b58ad1e83fbd5fd1f2918990979e796584ee22..83ca5ccfde3ad190ae21fedc58d48f51170e0b29 100755 (executable)
@@ -187,6 +187,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 c0ed620586ae23b0823c488b948ca5b94b1a8e0c..136e595375c30ed2e2d51d6665ad5ef0a561bf6f 100755 (executable)
@@ -133,6 +133,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 2027803ade3140f98fe4af4f49173904f4e87223..ae694727d8c8fc2922e426d80b9160b29a7377dd 100755 (executable)
@@ -977,6 +977,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>