[NUI] Remove Style from View (#1837)
authorJiyun Yang <ji.yang@samsung.com>
Mon, 20 Jul 2020 06:25:15 +0000 (15:25 +0900)
committerGitHub <noreply@github.com>
Mon, 20 Jul 2020 06:25:15 +0000 (15:25 +0900)
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
src/Tizen.NUI.Components/Controls/Control.cs
src/Tizen.NUI/src/public/BaseComponents/ImageView.cs
src/Tizen.NUI/src/public/BaseComponents/TextField.cs
src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs
src/Tizen.NUI/src/public/BaseComponents/View.cs

index 60575ad..fc3abce 100755 (executable)
@@ -50,7 +50,7 @@ namespace Tizen.NUI.Components
 
         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
         [EditorBrowsable(EditorBrowsableState.Never)]
-        public new ControlStyle Style => (ControlStyle)ViewStyle.Clone();
+        public ControlStyle Style => (ControlStyle)ViewStyle.Clone();
 
         static Control() { }
 
index 0985953..a4049b6 100644 (file)
@@ -271,7 +271,7 @@ namespace Tizen.NUI.BaseComponents
 
         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
         [EditorBrowsable(EditorBrowsableState.Never)]
-        public new ImageViewStyle Style => new ImageViewStyle(this);
+        public ImageViewStyle Style => new ImageViewStyle(this);
 
         /// <summary>
         /// Creates an initialized ImageView.
index a2849ea..2eb09c6 100755 (executable)
@@ -40,7 +40,7 @@ namespace Tizen.NUI.BaseComponents
 
         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
         [EditorBrowsable(EditorBrowsableState.Never)]
-        public new TextFieldStyle Style => new TextFieldStyle(this);
+        public TextFieldStyle Style => new TextFieldStyle(this);
 
         /// <summary>
         /// Creates the TextField control.
index 1b2757c..24dcee8 100755 (executable)
@@ -46,7 +46,7 @@ namespace Tizen.NUI.BaseComponents
         /// Style setting is possible by using constructor or the function of <see cref="View.ApplyStyle"/>.
         /// </remarks>
         [EditorBrowsable(EditorBrowsableState.Never)]
-        public new TextLabelStyle Style => new TextLabelStyle(this);
+        public TextLabelStyle Style => new TextLabelStyle(this);
 
         /// <summary>
         /// Creates the TextLabel control.
index 2af0d11..8ceee29 100755 (executable)
@@ -67,16 +67,6 @@ namespace Tizen.NUI.BaseComponents
 
         static View() {}
 
-
-        /// <summary>
-        /// Return a copied Style instance of View.
-        /// </summary>
-        /// <remarks>
-        /// It returns copied Style instance and changing it does not effect to the View.
-        /// </remarks>
-        [EditorBrowsable(EditorBrowsableState.Never)]
-        public ViewStyle Style => new ViewStyle(this);
-
         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
         [EditorBrowsable(EditorBrowsableState.Never)]
         public ViewStyle ViewStyle