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);
46 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Popup obj)
48 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
51 public override void Dispose()
53 if (!Stage.IsInstalled())
55 DisposeQueue.Instance.Add(this);
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);
70 global::System.GC.SuppressFinalize(this);
78 /// Event arguments that passed via OutsideTouchedEvent
80 public class OutsideTouchedEventArgs : 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<OutsideTouchedEventArgs> _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<OutsideTouchedEventArgs> OutsideTouched
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 OutsideTouchedEventArgs e = new OutsideTouchedEventArgs();
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 : global::System.IDisposable
320 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
321 protected bool swigCMemOwn;
323 internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
325 swigCMemOwn = cMemoryOwn;
326 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
329 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
331 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
339 public virtual void Dispose()
343 if (swigCPtr.Handle != global::System.IntPtr.Zero)
348 NDalicPINVOKE.delete_Popup_Property(swigCPtr);
350 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
352 global::System.GC.SuppressFinalize(this);
356 internal Property() : this(NDalicPINVOKE.new_Popup_Property(), true)
358 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
361 internal static readonly int TITLE = NDalicPINVOKE.Popup_Property_TITLE_get();
362 internal static readonly int CONTENT = NDalicPINVOKE.Popup_Property_CONTENT_get();
363 internal static readonly int FOOTER = NDalicPINVOKE.Popup_Property_FOOTER_get();
364 internal static readonly int DISPLAY_STATE = NDalicPINVOKE.Popup_Property_DISPLAY_STATE_get();
365 internal static readonly int TOUCH_TRANSPARENT = NDalicPINVOKE.Popup_Property_TOUCH_TRANSPARENT_get();
366 internal static readonly int TAIL_VISIBILITY = NDalicPINVOKE.Popup_Property_TAIL_VISIBILITY_get();
367 internal static readonly int TAIL_POSITION = NDalicPINVOKE.Popup_Property_TAIL_POSITION_get();
368 internal static readonly int CONTEXTUAL_MODE = NDalicPINVOKE.Popup_Property_CONTEXTUAL_MODE_get();
369 internal static readonly int ANIMATION_DURATION = NDalicPINVOKE.Popup_Property_ANIMATION_DURATION_get();
370 internal static readonly int ANIMATION_MODE = NDalicPINVOKE.Popup_Property_ANIMATION_MODE_get();
371 internal static readonly int ENTRY_ANIMATION = NDalicPINVOKE.Popup_Property_ENTRY_ANIMATION_get();
372 internal static readonly int EXIT_ANIMATION = NDalicPINVOKE.Popup_Property_EXIT_ANIMATION_get();
373 internal static readonly int AUTO_HIDE_DELAY = NDalicPINVOKE.Popup_Property_AUTO_HIDE_DELAY_get();
374 internal static readonly int BACKING_ENABLED = NDalicPINVOKE.Popup_Property_BACKING_ENABLED_get();
375 internal static readonly int BACKING_COLOR = NDalicPINVOKE.Popup_Property_BACKING_COLOR_get();
376 internal static readonly int POPUP_BACKGROUND_IMAGE = NDalicPINVOKE.Popup_Property_POPUP_BACKGROUND_IMAGE_get();
377 internal static readonly int POPUP_BACKGROUND_BORDER = NDalicPINVOKE.Popup_Property_POPUP_BACKGROUND_BORDER_get();
378 internal static readonly int TAIL_UP_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_UP_IMAGE_get();
379 internal static readonly int TAIL_DOWN_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_DOWN_IMAGE_get();
380 internal static readonly int TAIL_LEFT_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_LEFT_IMAGE_get();
381 internal static readonly int TAIL_RIGHT_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_RIGHT_IMAGE_get();
386 /// Create the Popup.
388 public Popup() : this(NDalicPINVOKE.Popup_New(), true)
390 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
393 internal Popup(Popup handle) : this(NDalicPINVOKE.new_Popup__SWIG_1(Popup.getCPtr(handle)), true)
395 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
398 internal Popup Assign(Popup handle)
400 Popup ret = new Popup(NDalicPINVOKE.Popup_Assign(swigCPtr, Popup.getCPtr(handle)), false);
401 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
406 /// Downcasts a handle to Popup handle.<br>
407 /// If handle points to a Popup, the downcast produces valid handle.<br>
408 /// If not the returned handle is left uninitialized.<br>
410 /// <param name="handle">Handle to an object</param>
411 /// <returns>handle to a Popup or an uninitialized handle</returns>
412 public new static Popup DownCast(BaseHandle handle)
414 Popup ret = new Popup(NDalicPINVOKE.Popup_DownCast(BaseHandle.getCPtr(handle)), true);
415 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
420 /// Sets a title for this Popup.
422 /// <param name="titleActor">The actor to set a title</param>
423 public void SetTitle(Actor titleActor)
425 NDalicPINVOKE.Popup_SetTitle(swigCPtr, Actor.getCPtr(titleActor));
426 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
429 internal Actor GetTitle()
431 Actor ret = new Actor(NDalicPINVOKE.Popup_GetTitle(swigCPtr), true);
432 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
437 /// Sets the content actor.
439 /// <param name="content">The actor to use</param>
440 public void SetContent(Actor content)
442 NDalicPINVOKE.Popup_SetContent(swigCPtr, Actor.getCPtr(content));
443 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
446 internal Actor GetContent()
448 Actor ret = new Actor(NDalicPINVOKE.Popup_GetContent(swigCPtr), true);
449 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
454 /// Sets the actor to use for a footer in this Popup.
456 /// <param name="footer">The footer actor to be added to this Popup</param>
457 public void SetFooter(Actor footer)
459 NDalicPINVOKE.Popup_SetFooter(swigCPtr, Actor.getCPtr(footer));
460 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
463 internal Actor GetFooter()
465 Actor ret = new Actor(NDalicPINVOKE.Popup_GetFooter(swigCPtr), true);
466 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
471 /// Sets the display state of Popup.<br>
472 /// There are 4 total display states.<br>
473 /// Only 2 can be set, but all four can be read for better inspection of the current popup state.<br>
475 /// The other two states are getable, but not setable and are there for consistency.<br>
477 /// | Value | Setting the state | Getting the state |<br>
478 /// |----------|--------------------------------|--------------------------------|<br>
479 /// | SHOWN | Show the popup | The popup is fully shown |<br>
480 /// | HIDDEN | Hide the popup | The popup is fully hidden |<br>
481 /// | SHOWING | | The popup is transitioning in |<br>
482 /// | HIDING | | The popup is transitioning out |<br>
484 /// All 4 state changes cause notifications via 4 respective signals that can be connected to.<br>
486 /// <param name="displayState">The desired display state to change to</param>
487 public void SetDisplayState(Popup.DisplayStateType displayState)
489 NDalicPINVOKE.Popup_SetDisplayState(swigCPtr, (int)displayState);
490 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
493 internal Popup.DisplayStateType GetDisplayState()
495 Popup.DisplayStateType ret = (Popup.DisplayStateType)NDalicPINVOKE.Popup_GetDisplayState(swigCPtr);
496 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
500 internal VoidSignal OutsideTouchedSignal()
502 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_OutsideTouchedSignal(swigCPtr), false);
503 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
507 internal VoidSignal ShowingSignal()
509 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_ShowingSignal(swigCPtr), false);
510 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
514 internal VoidSignal ShownSignal()
516 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_ShownSignal(swigCPtr), false);
517 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
521 internal VoidSignal HidingSignal()
523 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_HidingSignal(swigCPtr), false);
524 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
528 internal VoidSignal HiddenSignal()
530 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_HiddenSignal(swigCPtr), false);
531 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
535 internal enum PropertyRange
537 PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
538 PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
542 /// The display states of the Popup.
544 public enum DisplayStateType
553 /// The animation mode within popup.<br>
554 /// Choose from a predefined mode or "CUSTOM" to use the ANIMATION_IN and ANIMATION_OUT properties.<br>
556 public enum AnimationModeType
565 /// Types of contextual layout.<br>
566 /// The Popup is positioned adjacent to it's parent in the direction specified by this mode.<br>
567 /// NON_CONTEXTUAL disables any contextual positioning.<br>
569 public enum ContextualModeType
581 public PropertyMap Title
585 PropertyMap temp = new PropertyMap();
586 GetProperty(Popup.Property.TITLE).Get(temp);
591 SetProperty(Popup.Property.TITLE, new Tizen.NUI.PropertyValue(value));
597 public PropertyMap Content
601 PropertyMap temp = new PropertyMap();
602 GetProperty(Popup.Property.CONTENT).Get(temp);
607 SetProperty(Popup.Property.CONTENT, new Tizen.NUI.PropertyValue(value));
613 public PropertyMap Footer
617 PropertyMap temp = new PropertyMap();
618 GetProperty(Popup.Property.FOOTER).Get(temp);
623 SetProperty(Popup.Property.FOOTER, new Tizen.NUI.PropertyValue(value));
627 /// Popup display state.
629 public DisplayStateType DisplayState
634 if (GetProperty(Popup.Property.DISPLAY_STATE).Get(out temp) == false)
637 Tizen.Log.Error("NUI", "DisplayState get error!");
643 return DisplayStateType.Showing;
645 return DisplayStateType.Shown;
647 return DisplayStateType.Hiding;
649 return DisplayStateType.Hidden;
651 return DisplayStateType.Hidden;
656 string valueToString = "";
659 case DisplayStateType.Showing:
661 valueToString = "SHOWING";
664 case DisplayStateType.Shown:
666 valueToString = "SHOWN";
669 case DisplayStateType.Hiding:
671 valueToString = "HIDING";
674 case DisplayStateType.Hidden:
676 valueToString = "HIDDEN";
681 valueToString = "HIDDEN";
685 SetProperty(Popup.Property.DISPLAY_STATE, new Tizen.NUI.PropertyValue(valueToString));
689 /// Touch transparent.
691 public bool TouchTransparent
696 GetProperty(Popup.Property.TOUCH_TRANSPARENT).Get(ref temp);
701 SetProperty(Popup.Property.TOUCH_TRANSPARENT, new Tizen.NUI.PropertyValue(value));
705 /// Popup tail visibility.
707 public bool TailVisibility
712 GetProperty(Popup.Property.TAIL_VISIBILITY).Get(ref temp);
717 SetProperty(Popup.Property.TAIL_VISIBILITY, new Tizen.NUI.PropertyValue(value));
721 /// Popup tail position.
723 public Vector3 TailPosition
727 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
728 GetProperty(Popup.Property.TAIL_POSITION).Get(temp);
733 SetProperty(Popup.Property.TAIL_POSITION, new Tizen.NUI.PropertyValue(value));
739 public ContextualModeType ContextualMode
744 if (GetProperty(Popup.Property.CONTEXTUAL_MODE).Get(out temp) == false)
747 Tizen.Log.Error("NUI", "ContextualMode get error!");
752 case "NON_CONTEXTUAL":
753 return ContextualModeType.NonContextual;
755 return ContextualModeType.Above;
757 return ContextualModeType.Rright;
759 return ContextualModeType.Below;
761 return ContextualModeType.Left;
763 return ContextualModeType.Below;
768 string valueToString = "";
771 case ContextualModeType.NonContextual:
773 valueToString = "NON_CONTEXTUAL";
776 case ContextualModeType.Above:
778 valueToString = "ABOVE";
781 case ContextualModeType.Rright:
783 valueToString = "RIGHT";
786 case ContextualModeType.Below:
788 valueToString = "BELOW";
791 case ContextualModeType.Left:
793 valueToString = "LEFT";
798 valueToString = "BELOW";
802 SetProperty(Popup.Property.CONTEXTUAL_MODE, new Tizen.NUI.PropertyValue(valueToString));
806 /// Animation duration.
808 public float AnimationDuration
813 GetProperty(Popup.Property.ANIMATION_DURATION).Get(ref temp);
818 SetProperty(Popup.Property.ANIMATION_DURATION, new Tizen.NUI.PropertyValue(value));
824 public AnimationModeType AnimationMode
829 if (GetProperty(Popup.Property.ANIMATION_MODE).Get(out temp) == false)
832 Tizen.Log.Error("NUI", "AnimationMode get error!");
838 return AnimationModeType.None;
840 return AnimationModeType.Zoom;
842 return AnimationModeType.Fade;
844 return AnimationModeType.Custom;
846 return AnimationModeType.Fade;
851 string valueToString = "";
854 case AnimationModeType.None:
856 valueToString = "NONE";
859 case AnimationModeType.Zoom:
861 valueToString = "ZOOM";
864 case AnimationModeType.Fade:
866 valueToString = "FADE";
869 case AnimationModeType.Custom:
871 valueToString = "CUSTOM";
876 valueToString = "FADE";
880 SetProperty(Popup.Property.ANIMATION_MODE, new Tizen.NUI.PropertyValue(valueToString));
886 public PropertyMap EntryAnimation
890 PropertyMap temp = new PropertyMap();
891 GetProperty(Popup.Property.ENTRY_ANIMATION).Get(temp);
896 SetProperty(Popup.Property.ENTRY_ANIMATION, new Tizen.NUI.PropertyValue(value));
902 public PropertyMap ExitAnimation
906 PropertyMap temp = new PropertyMap();
907 GetProperty(Popup.Property.EXIT_ANIMATION).Get(temp);
912 SetProperty(Popup.Property.EXIT_ANIMATION, new Tizen.NUI.PropertyValue(value));
918 public int AutoHideDelay
923 GetProperty(Popup.Property.AUTO_HIDE_DELAY).Get(ref temp);
928 SetProperty(Popup.Property.AUTO_HIDE_DELAY, new Tizen.NUI.PropertyValue(value));
934 public bool BackingEnabled
939 GetProperty(Popup.Property.BACKING_ENABLED).Get(ref temp);
944 SetProperty(Popup.Property.BACKING_ENABLED, new Tizen.NUI.PropertyValue(value));
950 public Vector4 BackingColor
954 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
955 GetProperty(Popup.Property.BACKING_COLOR).Get(temp);
960 SetProperty(Popup.Property.BACKING_COLOR, new Tizen.NUI.PropertyValue(value));
964 /// Background image.
966 public string PopupBackgroundImage
971 GetProperty(Popup.Property.POPUP_BACKGROUND_IMAGE).Get(out temp);
976 SetProperty(Popup.Property.POPUP_BACKGROUND_IMAGE, new Tizen.NUI.PropertyValue(value));
980 /// Background border.
982 public Rectangle PopupBackgroundBorder
986 Rectangle temp = new Rectangle(0, 0, 0, 0);
987 GetProperty(Popup.Property.POPUP_BACKGROUND_BORDER).Get(temp);
992 SetProperty(Popup.Property.POPUP_BACKGROUND_BORDER, new Tizen.NUI.PropertyValue(value));
998 public string TailUpImage
1003 GetProperty(Popup.Property.TAIL_UP_IMAGE).Get(out temp);
1008 SetProperty(Popup.Property.TAIL_UP_IMAGE, new Tizen.NUI.PropertyValue(value));
1012 /// Tail down image.
1014 public string TailDownImage
1019 GetProperty(Popup.Property.TAIL_DOWN_IMAGE).Get(out temp);
1024 SetProperty(Popup.Property.TAIL_DOWN_IMAGE, new Tizen.NUI.PropertyValue(value));
1028 /// Tail left image.
1030 public string TailLeftImage
1035 GetProperty(Popup.Property.TAIL_LEFT_IMAGE).Get(out temp);
1040 SetProperty(Popup.Property.TAIL_LEFT_IMAGE, new Tizen.NUI.PropertyValue(value));
1044 /// Tail right image.
1046 public string TailRightImage
1051 GetProperty(Popup.Property.TAIL_RIGHT_IMAGE).Get(out temp);
1056 SetProperty(Popup.Property.TAIL_RIGHT_IMAGE, new Tizen.NUI.PropertyValue(value));