1 /** Copyright (c) 2017 Samsung Electronics Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
17 namespace Tizen.NUI.UIComponents
21 using System.Runtime.InteropServices;
22 using Tizen.NUI.BaseComponents;
25 /// The Popup widget provides a configurable pop-up dialog with built-in layout of three main fields.
27 public class Popup : View
29 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
31 internal Popup(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Popup_SWIGUpcast(cPtr), cMemoryOwn)
33 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
36 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Popup obj)
38 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
42 protected override void Dispose(DisposeTypes type)
49 if (type == DisposeTypes.Explicit)
52 //Release your own managed resources here.
53 //You should release all of your own disposable objects here.
57 //Release your own unmanaged resources here.
58 //You should not access any managed member here except static instance.
59 //because the execution order of Finalizes is non-deterministic.
61 if (swigCPtr.Handle != global::System.IntPtr.Zero)
66 NDalicPINVOKE.delete_Popup(swigCPtr);
68 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
78 /// Event arguments that passed via OutsideTouchedEvent
80 public class TouchedOutsideEventArgs : EventArgs
85 /// Event arguments that passed via ShowingEventArgs
87 public class ShowingEventArgs : EventArgs
92 /// Event arguments that passed via ShownEventArgs
94 public class ShownEventArgs : EventArgs
99 /// Event arguments that passed via HidingEventArgs
101 public class HidingEventArgs : EventArgs
106 /// Event arguments that passed via HiddenEventArgs
108 public class HiddenEventArgs : EventArgs
112 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
113 private delegate void OutsideTouchedEventCallbackDelegate();
114 private EventHandler<TouchedOutsideEventArgs> _popUpOutsideTouchedEventHandler;
115 private OutsideTouchedEventCallbackDelegate _popUpOutsideTouchedEventCallbackDelegate;
117 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
118 private delegate void ShowingEventCallbackDelegate();
119 private EventHandler<ShowingEventArgs> _popUpShowingEventHandler;
120 private ShowingEventCallbackDelegate _popUpShowingEventCallbackDelegate;
122 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
123 private delegate void ShownEventCallbackDelegate();
124 private EventHandler<ShownEventArgs> _popUpShownEventHandler;
125 private ShownEventCallbackDelegate _popUpShownEventCallbackDelegate;
127 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
128 private delegate void HidingEventCallbackDelegate();
129 private EventHandler<HidingEventArgs> _popUpHidingEventHandler;
130 private HidingEventCallbackDelegate _popUpHidingEventCallbackDelegate;
132 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
133 private delegate void HiddenEventCallbackDelegate();
134 private EventHandler<HiddenEventArgs> _popUpHiddenEventHandler;
135 private HiddenEventCallbackDelegate _popUpHiddenEventCallbackDelegate;
138 /// Event is sent when user has touched outside of the Dialog.
140 public event EventHandler<TouchedOutsideEventArgs> TouchedOutside
144 if (_popUpOutsideTouchedEventHandler == null)
146 _popUpOutsideTouchedEventCallbackDelegate = (OnOutsideTouched);
147 OutsideTouchedSignal().Connect(_popUpOutsideTouchedEventCallbackDelegate);
149 _popUpOutsideTouchedEventHandler += value;
153 _popUpOutsideTouchedEventHandler -= value;
154 if (_popUpOutsideTouchedEventHandler == null && OutsideTouchedSignal().Empty() == false)
156 this.OutsideTouchedSignal().Disconnect(_popUpOutsideTouchedEventCallbackDelegate);
161 // Callback for Popup OutsideTouchedSignal
162 private void OnOutsideTouched()
164 TouchedOutsideEventArgs e = new TouchedOutsideEventArgs();
166 if (_popUpOutsideTouchedEventHandler != null)
168 //here we send all data to user event handlers
169 _popUpOutsideTouchedEventHandler(this, e);
174 /// Event is sent when the Popup is starting to be shown.
176 public event EventHandler<ShowingEventArgs> Showing
180 if (_popUpShowingEventHandler == null)
182 _popUpShowingEventCallbackDelegate = (OnShowing);
183 ShowingSignal().Connect(_popUpShowingEventCallbackDelegate);
185 _popUpShowingEventHandler += value;
189 _popUpShowingEventHandler -= value;
190 if (_popUpShowingEventHandler == null && ShowingSignal().Empty() == false)
192 ShowingSignal().Disconnect(_popUpShowingEventCallbackDelegate);
197 // Callback for ShowingSignal
198 private void OnShowing()
200 ShowingEventArgs e = new ShowingEventArgs();
202 if (_popUpShowingEventHandler != null)
204 //here we send all data to user event handlers
205 _popUpShowingEventHandler(this, e);
211 /// Event is sent when the Popup has been fully displayed.
213 public event EventHandler<ShownEventArgs> Shown
217 if (_popUpShownEventHandler == null)
219 _popUpShownEventCallbackDelegate = (OnShown);
220 ShownSignal().Connect(_popUpShownEventCallbackDelegate);
222 _popUpShownEventHandler += value;
226 _popUpShownEventHandler -= value;
227 if (_popUpShownEventHandler == null && ShownSignal().Empty() == false)
229 ShownSignal().Disconnect(_popUpShownEventCallbackDelegate);
234 // Callback for ShownSignal
235 private void OnShown()
237 ShownEventArgs e = new ShownEventArgs();
239 if (_popUpShownEventHandler != null)
241 //here we send all data to user event handlers
242 _popUpShownEventHandler(this, e);
247 /// Event is sent when the Popup is starting to be hidden.
249 public event EventHandler<HidingEventArgs> Hiding
253 if (_popUpHidingEventHandler == null)
255 _popUpHidingEventCallbackDelegate = (OnHiding);
256 HidingSignal().Connect(_popUpHidingEventCallbackDelegate);
258 _popUpHidingEventHandler += value;
262 _popUpHidingEventHandler -= value;
263 if (_popUpHidingEventHandler == null && HidingSignal().Empty() == false)
265 HidingSignal().Disconnect(_popUpHidingEventCallbackDelegate);
270 // Callback for HidingSignal
271 private void OnHiding()
273 HidingEventArgs e = new HidingEventArgs();
275 if (_popUpHidingEventHandler != null)
277 //here we send all data to user event handlers
278 _popUpHidingEventHandler(this, e);
283 /// Event is sent when the Popup has been completely hidden.
285 public event EventHandler<HiddenEventArgs> Hidden
289 if (_popUpHiddenEventHandler == null)
291 _popUpHiddenEventCallbackDelegate = (OnHidden);
292 HiddenSignal().Connect(_popUpHiddenEventCallbackDelegate);
294 _popUpHiddenEventHandler += value;
298 _popUpHiddenEventHandler -= value;
299 if (_popUpHiddenEventHandler == null && HiddenSignal().Empty() == false)
301 HiddenSignal().Disconnect(_popUpHiddenEventCallbackDelegate);
306 // Callback for HiddenSignal
307 private void OnHidden()
309 HiddenEventArgs e = new HiddenEventArgs();
311 if (_popUpHiddenEventHandler != null)
313 //here we send all data to user event handlers
314 _popUpHiddenEventHandler(this, e);
318 internal class Property
320 internal static readonly int TITLE = NDalicPINVOKE.Popup_Property_TITLE_get();
321 internal static readonly int CONTENT = NDalicPINVOKE.Popup_Property_CONTENT_get();
322 internal static readonly int FOOTER = NDalicPINVOKE.Popup_Property_FOOTER_get();
323 internal static readonly int DISPLAY_STATE = NDalicPINVOKE.Popup_Property_DISPLAY_STATE_get();
324 internal static readonly int TOUCH_TRANSPARENT = NDalicPINVOKE.Popup_Property_TOUCH_TRANSPARENT_get();
325 internal static readonly int TAIL_VISIBILITY = NDalicPINVOKE.Popup_Property_TAIL_VISIBILITY_get();
326 internal static readonly int TAIL_POSITION = NDalicPINVOKE.Popup_Property_TAIL_POSITION_get();
327 internal static readonly int CONTEXTUAL_MODE = NDalicPINVOKE.Popup_Property_CONTEXTUAL_MODE_get();
328 internal static readonly int ANIMATION_DURATION = NDalicPINVOKE.Popup_Property_ANIMATION_DURATION_get();
329 internal static readonly int ANIMATION_MODE = NDalicPINVOKE.Popup_Property_ANIMATION_MODE_get();
330 internal static readonly int ENTRY_ANIMATION = NDalicPINVOKE.Popup_Property_ENTRY_ANIMATION_get();
331 internal static readonly int EXIT_ANIMATION = NDalicPINVOKE.Popup_Property_EXIT_ANIMATION_get();
332 internal static readonly int AUTO_HIDE_DELAY = NDalicPINVOKE.Popup_Property_AUTO_HIDE_DELAY_get();
333 internal static readonly int BACKING_ENABLED = NDalicPINVOKE.Popup_Property_BACKING_ENABLED_get();
334 internal static readonly int BACKING_COLOR = NDalicPINVOKE.Popup_Property_BACKING_COLOR_get();
335 internal static readonly int POPUP_BACKGROUND_IMAGE = NDalicPINVOKE.Popup_Property_POPUP_BACKGROUND_IMAGE_get();
336 internal static readonly int POPUP_BACKGROUND_BORDER = NDalicPINVOKE.Popup_Property_POPUP_BACKGROUND_BORDER_get();
337 internal static readonly int TAIL_UP_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_UP_IMAGE_get();
338 internal static readonly int TAIL_DOWN_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_DOWN_IMAGE_get();
339 internal static readonly int TAIL_LEFT_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_LEFT_IMAGE_get();
340 internal static readonly int TAIL_RIGHT_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_RIGHT_IMAGE_get();
344 /// Create the Popup.
346 public Popup() : this(NDalicPINVOKE.Popup_New(), true)
348 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
352 [Obsolete("Please do not use! this will be deprecated")]
353 public new static Popup DownCast(BaseHandle handle)
355 Popup ret = new Popup(NDalicPINVOKE.Popup_DownCast(BaseHandle.getCPtr(handle)), true);
356 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
361 /// Sets a title for this Popup.
363 /// <param name="titleView">The actor to set a title</param>
364 public void SetTitle(View titleView)
366 NDalicPINVOKE.Popup_SetTitle(swigCPtr, View.getCPtr(titleView));
367 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
370 internal View GetTitle()
372 View ret = new View(NDalicPINVOKE.Popup_GetTitle(swigCPtr), true);
373 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
378 /// Sets the content actor.
380 /// <param name="content">The actor to use</param>
381 public void SetContent(View content)
383 NDalicPINVOKE.Popup_SetContent(swigCPtr, View.getCPtr(content));
384 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
387 internal View GetContent()
389 View ret = new View(NDalicPINVOKE.Popup_GetContent(swigCPtr), true);
390 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
395 /// Sets the actor to use for a footer in this Popup.
397 /// <param name="footer">The footer actor to be added to this Popup</param>
398 public void SetFooter(View footer)
400 NDalicPINVOKE.Popup_SetFooter(swigCPtr, View.getCPtr(footer));
401 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
404 internal View GetFooter()
406 View ret = new View(NDalicPINVOKE.Popup_GetFooter(swigCPtr), true);
407 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
412 /// Sets the display state of Popup.<br>
413 /// There are 4 total display states.<br>
414 /// Only 2 can be set, but all four can be read for better inspection of the current popup state.<br>
416 /// The other two states are getable, but not setable and are there for consistency.<br>
418 /// | Value | Setting the state | Getting the state |<br>
419 /// |----------|--------------------------------|--------------------------------|<br>
420 /// | SHOWN | Show the popup | The popup is fully shown |<br>
421 /// | HIDDEN | Hide the popup | The popup is fully hidden |<br>
422 /// | SHOWING | | The popup is transitioning in |<br>
423 /// | HIDING | | The popup is transitioning out |<br>
425 /// All 4 state changes cause notifications via 4 respective signals that can be connected to.<br>
427 /// <param name="displayState">The desired display state to change to</param>
428 public void SetDisplayState(Popup.DisplayStateType displayState)
430 NDalicPINVOKE.Popup_SetDisplayState(swigCPtr, (int)displayState);
431 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
434 internal Popup.DisplayStateType GetDisplayState()
436 Popup.DisplayStateType ret = (Popup.DisplayStateType)NDalicPINVOKE.Popup_GetDisplayState(swigCPtr);
437 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
441 internal VoidSignal OutsideTouchedSignal()
443 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_OutsideTouchedSignal(swigCPtr), false);
444 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
448 internal VoidSignal ShowingSignal()
450 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_ShowingSignal(swigCPtr), false);
451 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
455 internal VoidSignal ShownSignal()
457 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_ShownSignal(swigCPtr), false);
458 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
462 internal VoidSignal HidingSignal()
464 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_HidingSignal(swigCPtr), false);
465 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
469 internal VoidSignal HiddenSignal()
471 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_HiddenSignal(swigCPtr), false);
472 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
477 /// The display states of the Popup.
479 public enum DisplayStateType
488 /// The animation mode within popup.<br>
489 /// Choose from a predefined mode or "CUSTOM" to use the ANIMATION_IN and ANIMATION_OUT properties.<br>
491 public enum AnimationModeType
500 /// Types of contextual layout.<br>
501 /// The Popup is positioned adjacent to it's parent in the direction specified by this mode.<br>
502 /// NON_CONTEXTUAL disables any contextual positioning.<br>
504 public enum ContextualModeType
516 public PropertyMap Title
520 PropertyMap temp = new PropertyMap();
521 GetProperty(Popup.Property.TITLE).Get(temp);
526 SetProperty(Popup.Property.TITLE, new Tizen.NUI.PropertyValue(value));
532 public PropertyMap Content
536 PropertyMap temp = new PropertyMap();
537 GetProperty(Popup.Property.CONTENT).Get(temp);
542 SetProperty(Popup.Property.CONTENT, new Tizen.NUI.PropertyValue(value));
548 public PropertyMap Footer
552 PropertyMap temp = new PropertyMap();
553 GetProperty(Popup.Property.FOOTER).Get(temp);
558 SetProperty(Popup.Property.FOOTER, new Tizen.NUI.PropertyValue(value));
562 /// Popup display state.
564 public DisplayStateType DisplayState
569 if (GetProperty(Popup.Property.DISPLAY_STATE).Get(out temp) == false)
571 NUILog.Error("DisplayState get error!");
576 return DisplayStateType.Showing;
578 return DisplayStateType.Shown;
580 return DisplayStateType.Hiding;
582 return DisplayStateType.Hidden;
584 return DisplayStateType.Hidden;
589 string valueToString = "";
592 case DisplayStateType.Showing:
594 valueToString = "SHOWING";
597 case DisplayStateType.Shown:
599 valueToString = "SHOWN";
602 case DisplayStateType.Hiding:
604 valueToString = "HIDING";
607 case DisplayStateType.Hidden:
609 valueToString = "HIDDEN";
614 valueToString = "HIDDEN";
618 SetProperty(Popup.Property.DISPLAY_STATE, new Tizen.NUI.PropertyValue(valueToString));
622 /// Touch transparent.
624 public bool TouchTransparent
629 GetProperty(Popup.Property.TOUCH_TRANSPARENT).Get(out temp);
634 SetProperty(Popup.Property.TOUCH_TRANSPARENT, new Tizen.NUI.PropertyValue(value));
638 /// Popup tail visibility.
640 public bool TailVisibility
645 GetProperty(Popup.Property.TAIL_VISIBILITY).Get(out temp);
650 SetProperty(Popup.Property.TAIL_VISIBILITY, new Tizen.NUI.PropertyValue(value));
654 /// Popup tail position.
656 public Vector3 TailPosition
660 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
661 GetProperty(Popup.Property.TAIL_POSITION).Get(temp);
666 SetProperty(Popup.Property.TAIL_POSITION, new Tizen.NUI.PropertyValue(value));
672 public ContextualModeType ContextualMode
677 if (GetProperty(Popup.Property.CONTEXTUAL_MODE).Get(out temp) == false)
679 NUILog.Error("ContextualMode get error!");
683 case "NON_CONTEXTUAL":
684 return ContextualModeType.NonContextual;
686 return ContextualModeType.Above;
688 return ContextualModeType.Rright;
690 return ContextualModeType.Below;
692 return ContextualModeType.Left;
694 return ContextualModeType.Below;
699 string valueToString = "";
702 case ContextualModeType.NonContextual:
704 valueToString = "NON_CONTEXTUAL";
707 case ContextualModeType.Above:
709 valueToString = "ABOVE";
712 case ContextualModeType.Rright:
714 valueToString = "RIGHT";
717 case ContextualModeType.Below:
719 valueToString = "BELOW";
722 case ContextualModeType.Left:
724 valueToString = "LEFT";
729 valueToString = "BELOW";
733 SetProperty(Popup.Property.CONTEXTUAL_MODE, new Tizen.NUI.PropertyValue(valueToString));
737 /// Animation duration.
739 public float AnimationDuration
744 GetProperty(Popup.Property.ANIMATION_DURATION).Get(out temp);
749 SetProperty(Popup.Property.ANIMATION_DURATION, new Tizen.NUI.PropertyValue(value));
755 public AnimationModeType AnimationMode
760 if (GetProperty(Popup.Property.ANIMATION_MODE).Get(out temp) == false)
762 NUILog.Error("AnimationMode get error!");
767 return AnimationModeType.None;
769 return AnimationModeType.Zoom;
771 return AnimationModeType.Fade;
773 return AnimationModeType.Custom;
775 return AnimationModeType.Fade;
780 string valueToString = "";
783 case AnimationModeType.None:
785 valueToString = "NONE";
788 case AnimationModeType.Zoom:
790 valueToString = "ZOOM";
793 case AnimationModeType.Fade:
795 valueToString = "FADE";
798 case AnimationModeType.Custom:
800 valueToString = "CUSTOM";
805 valueToString = "FADE";
809 SetProperty(Popup.Property.ANIMATION_MODE, new Tizen.NUI.PropertyValue(valueToString));
815 public PropertyMap EntryAnimation
819 PropertyMap temp = new PropertyMap();
820 GetProperty(Popup.Property.ENTRY_ANIMATION).Get(temp);
825 SetProperty(Popup.Property.ENTRY_ANIMATION, new Tizen.NUI.PropertyValue(value));
831 public PropertyMap ExitAnimation
835 PropertyMap temp = new PropertyMap();
836 GetProperty(Popup.Property.EXIT_ANIMATION).Get(temp);
841 SetProperty(Popup.Property.EXIT_ANIMATION, new Tizen.NUI.PropertyValue(value));
847 public int AutoHideDelay
852 GetProperty(Popup.Property.AUTO_HIDE_DELAY).Get(out temp);
857 SetProperty(Popup.Property.AUTO_HIDE_DELAY, new Tizen.NUI.PropertyValue(value));
863 public bool BackingEnabled
868 GetProperty(Popup.Property.BACKING_ENABLED).Get(out temp);
873 SetProperty(Popup.Property.BACKING_ENABLED, new Tizen.NUI.PropertyValue(value));
879 public Vector4 BackingColor
883 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
884 GetProperty(Popup.Property.BACKING_COLOR).Get(temp);
889 SetProperty(Popup.Property.BACKING_COLOR, new Tizen.NUI.PropertyValue(value));
893 /// Background image.
895 public string PopupBackgroundImage
900 GetProperty(Popup.Property.POPUP_BACKGROUND_IMAGE).Get(out temp);
905 SetProperty(Popup.Property.POPUP_BACKGROUND_IMAGE, new Tizen.NUI.PropertyValue(value));
909 /// Background border.
911 public Rectangle PopupBackgroundBorder
915 Rectangle temp = new Rectangle(0, 0, 0, 0);
916 GetProperty(Popup.Property.POPUP_BACKGROUND_BORDER).Get(temp);
921 SetProperty(Popup.Property.POPUP_BACKGROUND_BORDER, new Tizen.NUI.PropertyValue(value));
927 public string TailUpImage
932 GetProperty(Popup.Property.TAIL_UP_IMAGE).Get(out temp);
937 SetProperty(Popup.Property.TAIL_UP_IMAGE, new Tizen.NUI.PropertyValue(value));
943 public string TailDownImage
948 GetProperty(Popup.Property.TAIL_DOWN_IMAGE).Get(out temp);
953 SetProperty(Popup.Property.TAIL_DOWN_IMAGE, new Tizen.NUI.PropertyValue(value));
959 public string TailLeftImage
964 GetProperty(Popup.Property.TAIL_LEFT_IMAGE).Get(out temp);
969 SetProperty(Popup.Property.TAIL_LEFT_IMAGE, new Tizen.NUI.PropertyValue(value));
973 /// Tail right image.
975 public string TailRightImage
980 GetProperty(Popup.Property.TAIL_RIGHT_IMAGE).Get(out temp);
985 SetProperty(Popup.Property.TAIL_RIGHT_IMAGE, new Tizen.NUI.PropertyValue(value));