Revert "[NUI] Fix RaiseToTop error (#413)" (#419)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Container.cs
index b7d8514..20f6e89 100755 (executable)
@@ -62,8 +62,6 @@ namespace Tizen.NUI
             base.Dispose(type);
         }
 
-        protected abstract Container GetParent();
-
         /// <summary>
         /// Adds a child view to this Container.
         /// </summary>
@@ -92,6 +90,14 @@ namespace Tizen.NUI
         public abstract View GetChildAt( uint index );
 
         /// <summary>
+        /// Gets the parent of this container.
+        /// </summary>
+        /// <pre>The child container has been initialized.</pre>
+        /// <returns>The parent container.</returns>
+        /// <since_tizen> 4 </since_tizen>
+        public abstract Container GetParent();
+
+        /// <summary>
         /// Gets the number of children for this container.
         /// </summary>
         /// <pre>The container has been initialized.</pre>
@@ -106,7 +112,7 @@ namespace Tizen.NUI
         /// <pre>The child container has been initialized.</pre>
         /// <returns>The parent container.</returns>
         /// <since_tizen> 4 </since_tizen>
-        public Container Parent
+        public new Container Parent
         {
             get
             {