sync with tizen branch to finalize API
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Layer.cs
index 91775d1..02d9adc 100755 (executable)
@@ -16,6 +16,7 @@
 
 namespace Tizen.NUI
 {
+    using System;
     using Tizen.NUI.BaseComponents;
 
     /// <summary>
@@ -98,6 +99,15 @@ namespace Tizen.NUI
         }
 
 
+
+        [Obsolete("Please do not use! this will be deprecated")]
+        public new static Layer DownCast(BaseHandle handle)
+        {
+            Layer ret = new Layer(NDalicPINVOKE.Layer_DownCast(BaseHandle.getCPtr(handle)), true);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
         /// <summary>
         /// Search through this layer's hierarchy for an view with the given unique ID.
         /// </summary>