[Tizen] Add obsolete attribute for Create property of VisualBase 16/144116/1
authorminho.sun <minho.sun@samsung.com>
Mon, 14 Aug 2017 11:17:55 +0000 (20:17 +0900)
committerminho.sun <minho.sun@samsung.com>
Mon, 14 Aug 2017 11:17:56 +0000 (20:17 +0900)
This reverts commit be0af0c1a6c1bdd826dcfad4454d38604657d6ff.

Change-Id: Ie291fdb19cae3fbe9ea802dcf8f77deb1764ed9e

Tizen.NUI/src/public/VisualBase.cs

index c360462..eb7829f 100755 (executable)
@@ -185,8 +185,13 @@ namespace Tizen.NUI
         /// <summary>
         /// Create the property map representing this visual.
         /// </summary>
+        [Obsolete("Please be caution! this will be readonly.")]
         public PropertyMap Creation
         {
+            set
+            {
+                CreatePropertyMap(value);
+            }
             get
             {
                 PropertyMap map = new PropertyMap();
@@ -194,6 +199,7 @@ namespace Tizen.NUI
                 return map;
             }
         }
+
         internal void CreatePropertyMap(PropertyMap map)
         {
             NDalicPINVOKE.VisualBase_CreatePropertyMap(swigCPtr, PropertyMap.getCPtr(map));