/// <summary> /// Sets the transform and the control size. /// </summary> /// <param name="transform">A property map describing the transform.</param> /// <param name="controlSize">The size of the parent control for visuals that need to scale internally.</param> /// <since_tizen> 3 </since_tizen> public void SetTransformAndSize(PropertyMap transform, Vector2 controlSize) { Interop.VisualBase.VisualBase_SetTransformAndSize(swigCPtr, PropertyMap.getCPtr(transform), Vector2.getCPtr(controlSize)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
public void AddConstants(PropertyMap map) { Interop.Builder.Builder_AddConstants(swigCPtr, PropertyMap.getCPtr(map)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
/// <summary> /// Merges values from the map 'from' to the current.<br /> /// Any values in 'from' will overwrite the values in the current map.<br /> /// </summary> /// <param name="from">The map to merge from.</param> /// <since_tizen> 3 </since_tizen> public void Merge(PropertyMap from) { Interop.PropertyMap.Merge(SwigCPtr, PropertyMap.getCPtr(from)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
internal void CreatePropertyMap(PropertyMap map) { Interop.VisualBase.VisualBase_CreatePropertyMap(swigCPtr, PropertyMap.getCPtr(map)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetLayoutProperties(PropertyMap properties) { Interop.ItemLayout.SetLayoutProperties(SwigCPtr, PropertyMap.getCPtr(properties)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
/// <summary> /// Performs an action on this object with the given action name and attributes. /// </summary> /// <param name="actionName">The command for the action.</param> /// <param name="attributes">The list of attributes for the action.</param> /// <returns>The action is performed by the object or not.</returns> /// <since_tizen> 3 </since_tizen> public bool DoAction(string actionName, PropertyMap attributes) { bool ret = Interop.BaseHandle.DoAction(swigCPtrCopy, actionName, PropertyMap.getCPtr(attributes)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool DoAction(string actionName, PropertyMap attributes) { bool ret = LayoutPINVOKE.LayoutItemPtr_DoAction(swigCPtr, actionName, PropertyMap.getCPtr(attributes)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
/// <summary> /// Retrieves a map property value. /// </summary> /// <param name="mapValue">On return, the map as vector of string and property value pairs.</param> /// <returns>Returns true if the value is successfully retrieved, false if the type is not convertible.</returns> /// <since_tizen> 3 </since_tizen> public bool Get(PropertyMap mapValue) { bool ret = Interop.PropertyValue.GetMap(swigCPtr, PropertyMap.getCPtr(mapValue)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
/// <summary> /// Merges values from the map 'from' to the current.<br /> /// Any values in 'from' will overwrite the values in the current map.<br /> /// </summary> /// <param name="from">The map to merge from.</param> /// <since_tizen> 3 </since_tizen> public void Merge(PropertyMap from) { if (from == null) { throw new global::System.ArgumentNullException(nameof(from)); } Interop.PropertyMap.Merge(SwigCPtr, PropertyMap.getCPtr(from)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
public bool AddResponseHeaders(IDictionary <string, string> headers) { if (headers == null) { return(false); } PropertyMap headerMap = new PropertyMap(); foreach (KeyValuePair <string, string> kvp in headers) { using (PropertyValue value = new PropertyValue(kvp.Value)) { headerMap.Add(kvp.Key, value); } } bool result = Interop.WebHttpRequestInterceptor.AddResponseHeaders(interceptorHandle, PropertyMap.getCPtr(headerMap)); headerMap.Dispose(); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(result); }
/// <summary> /// Create an instance of TransitionData. /// </summary> /// <param name="transition">The transition data to store (a single animator).</param> /// <since_tizen> 3 </since_tizen> public TransitionData(PropertyMap transition) : this(Interop.TransitionData.NewByMap(PropertyMap.getCPtr(transition)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
/// <summary> /// Creates a PropertyBuffer. /// </summary> /// <param name="bufferFormat">The map of names and types that describes the components of the buffer.</param> /// <since_tizen> 3 </since_tizen> public PropertyBuffer(PropertyMap bufferFormat) : this(Interop.PropertyBuffer.PropertyBuffer_New(PropertyMap.getCPtr(bufferFormat)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
/// <summary> /// Performs an action on this object with the given action name and attributes. /// </summary> /// <param name="actionName">The command for the action.</param> /// <param name="attributes">The list of attributes for the action.</param> /// <returns>The action is performed by the object or not.</returns> /// <since_tizen> 3 </since_tizen> public bool DoAction(string actionName, PropertyMap attributes) { bool ret = NDalicPINVOKE.BaseHandle_DoAction(swigCPtr, actionName, PropertyMap.getCPtr(attributes)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; }
/// <summary> /// Creates a map property value. /// </summary> /// <param name="mapValue">An array.</param> /// <since_tizen> 3 </since_tizen> public PropertyValue(PropertyMap mapValue) : this(Interop.PropertyValue.NewPropertyValueMap(PropertyMap.getCPtr(mapValue)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
/// <summary> /// The copy constructor. /// </summary> /// <param name="other">The map to copy from.</param> /// <since_tizen> 3 </since_tizen> public PropertyMap(PropertyMap other) : this(Interop.PropertyMap.NewPropertyMap(PropertyMap.getCPtr(other)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
/// <summary> /// Request the visual. /// </summary> /// <param name="propertyMap">The map contains the properties required by the visual. The content of the map determines the type of visual that will be returned.</param> /// <returns>The handle to the created visual.</returns> /// <since_tizen> 3 </since_tizen> public VisualBase CreateVisual(PropertyMap propertyMap) { VisualBase ret = new VisualBase(Interop.VisualFactory.VisualFactory_CreateVisual__SWIG_0(swigCPtr, PropertyMap.getCPtr(propertyMap)), true); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public Animation CreateAnimation(string animationName, PropertyMap map) { Animation ret = new Animation(Interop.Builder.CreateAnimationWithPropertyMap(SwigCPtr, animationName, PropertyMap.getCPtr(map)), true); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public Animation CreateAnimation(string animationName, PropertyMap map, View sourceActor) { Animation ret = new Animation(Interop.Builder.Builder_CreateAnimation__SWIG_3(swigCPtr, animationName, PropertyMap.getCPtr(map), View.getCPtr(sourceActor)), true); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public BaseHandle Create(string templateName, PropertyMap map) { BaseHandle ret = new BaseHandle(Interop.Builder.Builder_Create__SWIG_1(swigCPtr, templateName, PropertyMap.getCPtr(map)), true); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }