Adding PropertyMap and PropertyArray types to SetProperty
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / VisualBase.cs
index ffb947a..c360462 100755 (executable)
@@ -59,10 +59,6 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
-
-                    //Unreference this instance from Registry.
-                    Registry.Unregister(this);
-
                     NDalicPINVOKE.delete_VisualBase(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
@@ -191,9 +187,11 @@ namespace Tizen.NUI
         /// </summary>
         public PropertyMap Creation
         {
-            set
+            get
             {
-                CreatePropertyMap(value);
+                PropertyMap map = new PropertyMap();
+                CreatePropertyMap(map);
+                return map;
             }
         }
         internal void CreatePropertyMap(PropertyMap map)