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.
16 // This File has been auto-generated by SWIG and then modified using DALi Ruby Scripts
17 //------------------------------------------------------------------------------
20 // This file was automatically generated by SWIG (http://www.swig.org).
23 // Do not make changes to this file unless you know what you are doing--modify
24 // the SWIG interface file instead.
25 //------------------------------------------------------------------------------
27 namespace Tizen.NUI.UIComponents
31 using System.Runtime.InteropServices;
32 using Tizen.NUI.BaseComponents;
35 /// The Popup widget provides a configurable pop-up dialog with built-in layout of three main fields.
37 public class Popup : View
39 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
41 internal Popup(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Popup_SWIGUpcast(cPtr), cMemoryOwn)
43 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
44 // By default, we do not want the position to use the anchor point
45 PositionUsesAnchorPoint = false;
48 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Popup obj)
50 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
53 public override void Dispose()
55 if (!Window.IsInstalled())
57 DisposeQueue.Instance.Add(this);
63 if (swigCPtr.Handle != global::System.IntPtr.Zero)
68 NDalicPINVOKE.delete_Popup(swigCPtr);
70 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
72 global::System.GC.SuppressFinalize(this);
80 /// Event arguments that passed via OutsideTouchedEvent
82 public class OutsideTouchedEventArgs : EventArgs
87 /// Event arguments that passed via ShowingEventArgs
89 public class ShowingEventArgs : EventArgs
94 /// Event arguments that passed via ShownEventArgs
96 public class ShownEventArgs : EventArgs
101 /// Event arguments that passed via HidingEventArgs
103 public class HidingEventArgs : EventArgs
108 /// Event arguments that passed via HiddenEventArgs
110 public class HiddenEventArgs : EventArgs
114 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
115 private delegate void OutsideTouchedEventCallbackDelegate();
116 private EventHandler<OutsideTouchedEventArgs> _popUpOutsideTouchedEventHandler;
117 private OutsideTouchedEventCallbackDelegate _popUpOutsideTouchedEventCallbackDelegate;
119 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
120 private delegate void ShowingEventCallbackDelegate();
121 private EventHandler<ShowingEventArgs> _popUpShowingEventHandler;
122 private ShowingEventCallbackDelegate _popUpShowingEventCallbackDelegate;
124 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
125 private delegate void ShownEventCallbackDelegate();
126 private EventHandler<ShownEventArgs> _popUpShownEventHandler;
127 private ShownEventCallbackDelegate _popUpShownEventCallbackDelegate;
129 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
130 private delegate void HidingEventCallbackDelegate();
131 private EventHandler<HidingEventArgs> _popUpHidingEventHandler;
132 private HidingEventCallbackDelegate _popUpHidingEventCallbackDelegate;
134 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
135 private delegate void HiddenEventCallbackDelegate();
136 private EventHandler<HiddenEventArgs> _popUpHiddenEventHandler;
137 private HiddenEventCallbackDelegate _popUpHiddenEventCallbackDelegate;
140 /// Event is sent when user has touched outside of the Dialog.
142 public event EventHandler<OutsideTouchedEventArgs> OutsideTouched
146 if (_popUpOutsideTouchedEventHandler == null)
148 _popUpOutsideTouchedEventCallbackDelegate = (OnOutsideTouched);
149 OutsideTouchedSignal().Connect(_popUpOutsideTouchedEventCallbackDelegate);
151 _popUpOutsideTouchedEventHandler += value;
155 _popUpOutsideTouchedEventHandler -= value;
156 if (_popUpOutsideTouchedEventHandler == null && OutsideTouchedSignal().Empty() == false)
158 this.OutsideTouchedSignal().Disconnect(_popUpOutsideTouchedEventCallbackDelegate);
163 // Callback for Popup OutsideTouchedSignal
164 private void OnOutsideTouched()
166 OutsideTouchedEventArgs e = new OutsideTouchedEventArgs();
168 if (_popUpOutsideTouchedEventHandler != null)
170 //here we send all data to user event handlers
171 _popUpOutsideTouchedEventHandler(this, e);
176 /// Event is sent when the Popup is starting to be shown.
178 public event EventHandler<ShowingEventArgs> Showing
182 if (_popUpShowingEventHandler == null)
184 _popUpShowingEventCallbackDelegate = (OnShowing);
185 ShowingSignal().Connect(_popUpShowingEventCallbackDelegate);
187 _popUpShowingEventHandler += value;
191 _popUpShowingEventHandler -= value;
192 if (_popUpShowingEventHandler == null && ShowingSignal().Empty() == false)
194 ShowingSignal().Disconnect(_popUpShowingEventCallbackDelegate);
199 // Callback for ShowingSignal
200 private void OnShowing()
202 ShowingEventArgs e = new ShowingEventArgs();
204 if (_popUpShowingEventHandler != null)
206 //here we send all data to user event handlers
207 _popUpShowingEventHandler(this, e);
213 /// Event is sent when the Popup has been fully displayed.
215 public event EventHandler<ShownEventArgs> Shown
219 if (_popUpShownEventHandler == null)
221 _popUpShownEventCallbackDelegate = (OnShown);
222 ShownSignal().Connect(_popUpShownEventCallbackDelegate);
224 _popUpShownEventHandler += value;
228 _popUpShownEventHandler -= value;
229 if (_popUpShownEventHandler == null && ShownSignal().Empty() == false)
231 ShownSignal().Disconnect(_popUpShownEventCallbackDelegate);
236 // Callback for ShownSignal
237 private void OnShown()
239 ShownEventArgs e = new ShownEventArgs();
241 if (_popUpShownEventHandler != null)
243 //here we send all data to user event handlers
244 _popUpShownEventHandler(this, e);
249 /// Event is sent when the Popup is starting to be hidden.
251 public event EventHandler<HidingEventArgs> Hiding
255 if (_popUpHidingEventHandler == null)
257 _popUpHidingEventCallbackDelegate = (OnHiding);
258 HidingSignal().Connect(_popUpHidingEventCallbackDelegate);
260 _popUpHidingEventHandler += value;
264 _popUpHidingEventHandler -= value;
265 if (_popUpHidingEventHandler == null && HidingSignal().Empty() == false)
267 HidingSignal().Disconnect(_popUpHidingEventCallbackDelegate);
272 // Callback for HidingSignal
273 private void OnHiding()
275 HidingEventArgs e = new HidingEventArgs();
277 if (_popUpHidingEventHandler != null)
279 //here we send all data to user event handlers
280 _popUpHidingEventHandler(this, e);
285 /// Event is sent when the Popup has been completely hidden.
287 public event EventHandler<HiddenEventArgs> Hidden
291 if (_popUpHiddenEventHandler == null)
293 _popUpHiddenEventCallbackDelegate = (OnHidden);
294 HiddenSignal().Connect(_popUpHiddenEventCallbackDelegate);
296 _popUpHiddenEventHandler += value;
300 _popUpHiddenEventHandler -= value;
301 if (_popUpHiddenEventHandler == null && HiddenSignal().Empty() == false)
303 HiddenSignal().Disconnect(_popUpHiddenEventCallbackDelegate);
308 // Callback for HiddenSignal
309 private void OnHidden()
311 HiddenEventArgs e = new HiddenEventArgs();
313 if (_popUpHiddenEventHandler != null)
315 //here we send all data to user event handlers
316 _popUpHiddenEventHandler(this, e);
320 internal class Property : global::System.IDisposable
322 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
323 protected bool swigCMemOwn;
325 internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
327 swigCMemOwn = cMemoryOwn;
328 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
331 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
333 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
338 DisposeQueue.Instance.Add(this);
341 public virtual void Dispose()
343 if (!Window.IsInstalled()) {
344 DisposeQueue.Instance.Add(this);
350 if (swigCPtr.Handle != global::System.IntPtr.Zero)
355 NDalicPINVOKE.delete_Popup_Property(swigCPtr);
357 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
359 global::System.GC.SuppressFinalize(this);
363 internal Property() : this(NDalicPINVOKE.new_Popup_Property(), true)
365 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
368 internal static readonly int TITLE = NDalicPINVOKE.Popup_Property_TITLE_get();
369 internal static readonly int CONTENT = NDalicPINVOKE.Popup_Property_CONTENT_get();
370 internal static readonly int FOOTER = NDalicPINVOKE.Popup_Property_FOOTER_get();
371 internal static readonly int DISPLAY_STATE = NDalicPINVOKE.Popup_Property_DISPLAY_STATE_get();
372 internal static readonly int TOUCH_TRANSPARENT = NDalicPINVOKE.Popup_Property_TOUCH_TRANSPARENT_get();
373 internal static readonly int TAIL_VISIBILITY = NDalicPINVOKE.Popup_Property_TAIL_VISIBILITY_get();
374 internal static readonly int TAIL_POSITION = NDalicPINVOKE.Popup_Property_TAIL_POSITION_get();
375 internal static readonly int CONTEXTUAL_MODE = NDalicPINVOKE.Popup_Property_CONTEXTUAL_MODE_get();
376 internal static readonly int ANIMATION_DURATION = NDalicPINVOKE.Popup_Property_ANIMATION_DURATION_get();
377 internal static readonly int ANIMATION_MODE = NDalicPINVOKE.Popup_Property_ANIMATION_MODE_get();
378 internal static readonly int ENTRY_ANIMATION = NDalicPINVOKE.Popup_Property_ENTRY_ANIMATION_get();
379 internal static readonly int EXIT_ANIMATION = NDalicPINVOKE.Popup_Property_EXIT_ANIMATION_get();
380 internal static readonly int AUTO_HIDE_DELAY = NDalicPINVOKE.Popup_Property_AUTO_HIDE_DELAY_get();
381 internal static readonly int BACKING_ENABLED = NDalicPINVOKE.Popup_Property_BACKING_ENABLED_get();
382 internal static readonly int BACKING_COLOR = NDalicPINVOKE.Popup_Property_BACKING_COLOR_get();
383 internal static readonly int POPUP_BACKGROUND_IMAGE = NDalicPINVOKE.Popup_Property_POPUP_BACKGROUND_IMAGE_get();
384 internal static readonly int POPUP_BACKGROUND_BORDER = NDalicPINVOKE.Popup_Property_POPUP_BACKGROUND_BORDER_get();
385 internal static readonly int TAIL_UP_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_UP_IMAGE_get();
386 internal static readonly int TAIL_DOWN_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_DOWN_IMAGE_get();
387 internal static readonly int TAIL_LEFT_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_LEFT_IMAGE_get();
388 internal static readonly int TAIL_RIGHT_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_RIGHT_IMAGE_get();
393 /// Create the Popup.
395 public Popup() : this(NDalicPINVOKE.Popup_New(), true)
397 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
400 internal Popup(Popup handle) : this(NDalicPINVOKE.new_Popup__SWIG_1(Popup.getCPtr(handle)), true)
402 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
405 internal Popup Assign(Popup handle)
407 Popup ret = new Popup(NDalicPINVOKE.Popup_Assign(swigCPtr, Popup.getCPtr(handle)), false);
408 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
413 /// Downcasts a handle to Popup handle.<br>
414 /// If handle points to a Popup, the downcast produces valid handle.<br>
415 /// If not the returned handle is left uninitialized.<br>
417 /// <param name="handle">Handle to an object</param>
418 /// <returns>handle to a Popup or an uninitialized handle</returns>
419 public new static Popup DownCast(BaseHandle handle)
421 Popup ret = new Popup(NDalicPINVOKE.Popup_DownCast(BaseHandle.getCPtr(handle)), true);
422 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
427 /// Sets a title for this Popup.
429 /// <param name="titleActor">The actor to set a title</param>
430 public void SetTitle(View titleView)
432 NDalicPINVOKE.Popup_SetTitle(swigCPtr, View.getCPtr(titleView));
433 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
436 internal View GetTitle()
438 View ret = new View(NDalicPINVOKE.Popup_GetTitle(swigCPtr), true);
439 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
444 /// Sets the content actor.
446 /// <param name="content">The actor to use</param>
447 public void SetContent(View content)
449 NDalicPINVOKE.Popup_SetContent(swigCPtr, View.getCPtr(content));
450 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
453 internal View GetContent()
455 View ret = new View(NDalicPINVOKE.Popup_GetContent(swigCPtr), true);
456 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
461 /// Sets the actor to use for a footer in this Popup.
463 /// <param name="footer">The footer actor to be added to this Popup</param>
464 public void SetFooter(View footer)
466 NDalicPINVOKE.Popup_SetFooter(swigCPtr, View.getCPtr(footer));
467 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
470 internal View GetFooter()
472 View ret = new View(NDalicPINVOKE.Popup_GetFooter(swigCPtr), true);
473 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
478 /// Sets the display state of Popup.<br>
479 /// There are 4 total display states.<br>
480 /// Only 2 can be set, but all four can be read for better inspection of the current popup state.<br>
482 /// The other two states are getable, but not setable and are there for consistency.<br>
484 /// | Value | Setting the state | Getting the state |<br>
485 /// |----------|--------------------------------|--------------------------------|<br>
486 /// | SHOWN | Show the popup | The popup is fully shown |<br>
487 /// | HIDDEN | Hide the popup | The popup is fully hidden |<br>
488 /// | SHOWING | | The popup is transitioning in |<br>
489 /// | HIDING | | The popup is transitioning out |<br>
491 /// All 4 state changes cause notifications via 4 respective signals that can be connected to.<br>
493 /// <param name="displayState">The desired display state to change to</param>
494 public void SetDisplayState(Popup.DisplayStateType displayState)
496 NDalicPINVOKE.Popup_SetDisplayState(swigCPtr, (int)displayState);
497 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
500 internal Popup.DisplayStateType GetDisplayState()
502 Popup.DisplayStateType ret = (Popup.DisplayStateType)NDalicPINVOKE.Popup_GetDisplayState(swigCPtr);
503 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
507 internal VoidSignal OutsideTouchedSignal()
509 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_OutsideTouchedSignal(swigCPtr), false);
510 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
514 internal VoidSignal ShowingSignal()
516 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_ShowingSignal(swigCPtr), false);
517 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
521 internal VoidSignal ShownSignal()
523 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_ShownSignal(swigCPtr), false);
524 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
528 internal VoidSignal HidingSignal()
530 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_HidingSignal(swigCPtr), false);
531 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
535 internal VoidSignal HiddenSignal()
537 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_HiddenSignal(swigCPtr), false);
538 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
542 internal enum PropertyRange
544 PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
545 PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
549 /// The display states of the Popup.
551 public enum DisplayStateType
560 /// The animation mode within popup.<br>
561 /// Choose from a predefined mode or "CUSTOM" to use the ANIMATION_IN and ANIMATION_OUT properties.<br>
563 public enum AnimationModeType
572 /// Types of contextual layout.<br>
573 /// The Popup is positioned adjacent to it's parent in the direction specified by this mode.<br>
574 /// NON_CONTEXTUAL disables any contextual positioning.<br>
576 public enum ContextualModeType
588 public PropertyMap Title
592 PropertyMap temp = new PropertyMap();
593 GetProperty(Popup.Property.TITLE).Get(temp);
598 SetProperty(Popup.Property.TITLE, new Tizen.NUI.PropertyValue(value));
604 public PropertyMap Content
608 PropertyMap temp = new PropertyMap();
609 GetProperty(Popup.Property.CONTENT).Get(temp);
614 SetProperty(Popup.Property.CONTENT, new Tizen.NUI.PropertyValue(value));
620 public PropertyMap Footer
624 PropertyMap temp = new PropertyMap();
625 GetProperty(Popup.Property.FOOTER).Get(temp);
630 SetProperty(Popup.Property.FOOTER, new Tizen.NUI.PropertyValue(value));
634 /// Popup display state.
636 public DisplayStateType DisplayState
641 if (GetProperty(Popup.Property.DISPLAY_STATE).Get(out temp) == false)
644 Tizen.Log.Error("NUI", "DisplayState get error!");
650 return DisplayStateType.Showing;
652 return DisplayStateType.Shown;
654 return DisplayStateType.Hiding;
656 return DisplayStateType.Hidden;
658 return DisplayStateType.Hidden;
663 string valueToString = "";
666 case DisplayStateType.Showing:
668 valueToString = "SHOWING";
671 case DisplayStateType.Shown:
673 valueToString = "SHOWN";
676 case DisplayStateType.Hiding:
678 valueToString = "HIDING";
681 case DisplayStateType.Hidden:
683 valueToString = "HIDDEN";
688 valueToString = "HIDDEN";
692 SetProperty(Popup.Property.DISPLAY_STATE, new Tizen.NUI.PropertyValue(valueToString));
696 /// Touch transparent.
698 public bool TouchTransparent
703 GetProperty(Popup.Property.TOUCH_TRANSPARENT).Get(ref temp);
708 SetProperty(Popup.Property.TOUCH_TRANSPARENT, new Tizen.NUI.PropertyValue(value));
712 /// Popup tail visibility.
714 public bool TailVisibility
719 GetProperty(Popup.Property.TAIL_VISIBILITY).Get(ref temp);
724 SetProperty(Popup.Property.TAIL_VISIBILITY, new Tizen.NUI.PropertyValue(value));
728 /// Popup tail position.
730 public Vector3 TailPosition
734 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
735 GetProperty(Popup.Property.TAIL_POSITION).Get(temp);
740 SetProperty(Popup.Property.TAIL_POSITION, new Tizen.NUI.PropertyValue(value));
746 public ContextualModeType ContextualMode
751 if (GetProperty(Popup.Property.CONTEXTUAL_MODE).Get(out temp) == false)
754 Tizen.Log.Error("NUI", "ContextualMode get error!");
759 case "NON_CONTEXTUAL":
760 return ContextualModeType.NonContextual;
762 return ContextualModeType.Above;
764 return ContextualModeType.Rright;
766 return ContextualModeType.Below;
768 return ContextualModeType.Left;
770 return ContextualModeType.Below;
775 string valueToString = "";
778 case ContextualModeType.NonContextual:
780 valueToString = "NON_CONTEXTUAL";
783 case ContextualModeType.Above:
785 valueToString = "ABOVE";
788 case ContextualModeType.Rright:
790 valueToString = "RIGHT";
793 case ContextualModeType.Below:
795 valueToString = "BELOW";
798 case ContextualModeType.Left:
800 valueToString = "LEFT";
805 valueToString = "BELOW";
809 SetProperty(Popup.Property.CONTEXTUAL_MODE, new Tizen.NUI.PropertyValue(valueToString));
813 /// Animation duration.
815 public float AnimationDuration
820 GetProperty(Popup.Property.ANIMATION_DURATION).Get(ref temp);
825 SetProperty(Popup.Property.ANIMATION_DURATION, new Tizen.NUI.PropertyValue(value));
831 public AnimationModeType AnimationMode
836 if (GetProperty(Popup.Property.ANIMATION_MODE).Get(out temp) == false)
839 Tizen.Log.Error("NUI", "AnimationMode get error!");
845 return AnimationModeType.None;
847 return AnimationModeType.Zoom;
849 return AnimationModeType.Fade;
851 return AnimationModeType.Custom;
853 return AnimationModeType.Fade;
858 string valueToString = "";
861 case AnimationModeType.None:
863 valueToString = "NONE";
866 case AnimationModeType.Zoom:
868 valueToString = "ZOOM";
871 case AnimationModeType.Fade:
873 valueToString = "FADE";
876 case AnimationModeType.Custom:
878 valueToString = "CUSTOM";
883 valueToString = "FADE";
887 SetProperty(Popup.Property.ANIMATION_MODE, new Tizen.NUI.PropertyValue(valueToString));
893 public PropertyMap EntryAnimation
897 PropertyMap temp = new PropertyMap();
898 GetProperty(Popup.Property.ENTRY_ANIMATION).Get(temp);
903 SetProperty(Popup.Property.ENTRY_ANIMATION, new Tizen.NUI.PropertyValue(value));
909 public PropertyMap ExitAnimation
913 PropertyMap temp = new PropertyMap();
914 GetProperty(Popup.Property.EXIT_ANIMATION).Get(temp);
919 SetProperty(Popup.Property.EXIT_ANIMATION, new Tizen.NUI.PropertyValue(value));
925 public int AutoHideDelay
930 GetProperty(Popup.Property.AUTO_HIDE_DELAY).Get(ref temp);
935 SetProperty(Popup.Property.AUTO_HIDE_DELAY, new Tizen.NUI.PropertyValue(value));
941 public bool BackingEnabled
946 GetProperty(Popup.Property.BACKING_ENABLED).Get(ref temp);
951 SetProperty(Popup.Property.BACKING_ENABLED, new Tizen.NUI.PropertyValue(value));
957 public Vector4 BackingColor
961 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
962 GetProperty(Popup.Property.BACKING_COLOR).Get(temp);
967 SetProperty(Popup.Property.BACKING_COLOR, new Tizen.NUI.PropertyValue(value));
971 /// Background image.
973 public string PopupBackgroundImage
978 GetProperty(Popup.Property.POPUP_BACKGROUND_IMAGE).Get(out temp);
983 SetProperty(Popup.Property.POPUP_BACKGROUND_IMAGE, new Tizen.NUI.PropertyValue(value));
987 /// Background border.
989 public Rectangle PopupBackgroundBorder
993 Rectangle temp = new Rectangle(0, 0, 0, 0);
994 GetProperty(Popup.Property.POPUP_BACKGROUND_BORDER).Get(temp);
999 SetProperty(Popup.Property.POPUP_BACKGROUND_BORDER, new Tizen.NUI.PropertyValue(value));
1005 public string TailUpImage
1010 GetProperty(Popup.Property.TAIL_UP_IMAGE).Get(out temp);
1015 SetProperty(Popup.Property.TAIL_UP_IMAGE, new Tizen.NUI.PropertyValue(value));
1019 /// Tail down image.
1021 public string TailDownImage
1026 GetProperty(Popup.Property.TAIL_DOWN_IMAGE).Get(out temp);
1031 SetProperty(Popup.Property.TAIL_DOWN_IMAGE, new Tizen.NUI.PropertyValue(value));
1035 /// Tail left image.
1037 public string TailLeftImage
1042 GetProperty(Popup.Property.TAIL_LEFT_IMAGE).Get(out temp);
1047 SetProperty(Popup.Property.TAIL_LEFT_IMAGE, new Tizen.NUI.PropertyValue(value));
1051 /// Tail right image.
1053 public string TailRightImage
1058 GetProperty(Popup.Property.TAIL_RIGHT_IMAGE).Get(out temp);
1063 SetProperty(Popup.Property.TAIL_RIGHT_IMAGE, new Tizen.NUI.PropertyValue(value));