[NUI] Implement shadow in View (#1235)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / PropertyMap.cs
index d596ee4..65f5c59 100755 (executable)
@@ -68,6 +68,10 @@ namespace Tizen.NUI
             {
                 return ValueOfIndex(key);
             }
+            internal set
+            {
+                SetValue(key, value);
+            }
         }
 
         /// <summary>
@@ -83,6 +87,10 @@ namespace Tizen.NUI
             {
                 return ValueOfIndex(key);
             }
+            internal set
+            {
+                SetValue(key, value);
+            }
         }
 
         /// <summary>
@@ -293,6 +301,18 @@ namespace Tizen.NUI
             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
         }
 
+        internal void SetValue(int key, PropertyValue value)
+        {
+            Interop.PropertyMap.Property_Map_SetValue_IntKey(swigCPtr, key, PropertyValue.getCPtr(value));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        internal void SetValue(string key, PropertyValue value)
+        {
+            Interop.PropertyMap.Property_Map_SetValue_StringKey(swigCPtr, key, PropertyValue.getCPtr(value));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
         /// <summary>
         /// Dispose.
         /// </summary>