[Tizen] Add obsolete attribute for Create property of VisualBase,
authorxb.teng <xb.teng@samsung.com>
Fri, 4 Aug 2017 14:37:18 +0000 (22:37 +0800)
committerxb.teng <xb.teng@samsung.com>
Fri, 4 Aug 2017 14:37:18 +0000 (22:37 +0800)
    backward compatibility

Change-Id: Ica9ffb7d837c551df9f44fd3f620fe575ebfc303

src/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));