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;
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;
53 DisposeQueue.Instance.Add(this);
56 public override void Dispose()
58 if (!Stage.IsInstalled())
60 DisposeQueue.Instance.Add(this);
66 if (swigCPtr.Handle != global::System.IntPtr.Zero)
71 NDalicPINVOKE.delete_Popup(swigCPtr);
73 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
75 global::System.GC.SuppressFinalize(this);
83 /// Event arguments that passed via OutsideTouchedEvent
85 public class OutsideTouchedEventArgs : EventArgs
90 /// Event arguments that passed via ShowingEventArgs
92 public class ShowingEventArgs : EventArgs
97 /// Event arguments that passed via ShownEventArgs
99 public class ShownEventArgs : EventArgs
104 /// Event arguments that passed via HidingEventArgs
106 public class HidingEventArgs : EventArgs
111 /// Event arguments that passed via HiddenEventArgs
113 public class HiddenEventArgs : EventArgs
117 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
118 private delegate void OutsideTouchedEventCallbackDelegate();
119 private EventHandler<OutsideTouchedEventArgs> _popUpOutsideTouchedEventHandler;
120 private OutsideTouchedEventCallbackDelegate _popUpOutsideTouchedEventCallbackDelegate;
122 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
123 private delegate void ShowingEventCallbackDelegate();
124 private EventHandler<ShowingEventArgs> _popUpShowingEventHandler;
125 private ShowingEventCallbackDelegate _popUpShowingEventCallbackDelegate;
127 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
128 private delegate void ShownEventCallbackDelegate();
129 private EventHandler<ShownEventArgs> _popUpShownEventHandler;
130 private ShownEventCallbackDelegate _popUpShownEventCallbackDelegate;
132 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
133 private delegate void HidingEventCallbackDelegate();
134 private EventHandler<HidingEventArgs> _popUpHidingEventHandler;
135 private HidingEventCallbackDelegate _popUpHidingEventCallbackDelegate;
137 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
138 private delegate void HiddenEventCallbackDelegate();
139 private EventHandler<HiddenEventArgs> _popUpHiddenEventHandler;
140 private HiddenEventCallbackDelegate _popUpHiddenEventCallbackDelegate;
143 /// Event is sent when user has touched outside of the Dialog.
145 public event EventHandler<OutsideTouchedEventArgs> OutsideTouched
149 if (_popUpOutsideTouchedEventHandler == null)
151 _popUpOutsideTouchedEventCallbackDelegate = (OnOutsideTouched);
152 OutsideTouchedSignal().Connect(_popUpOutsideTouchedEventCallbackDelegate);
154 _popUpOutsideTouchedEventHandler += value;
158 _popUpOutsideTouchedEventHandler -= value;
159 if (_popUpOutsideTouchedEventHandler == null && OutsideTouchedSignal().Empty() == false)
161 this.OutsideTouchedSignal().Disconnect(_popUpOutsideTouchedEventCallbackDelegate);
166 // Callback for Popup OutsideTouchedSignal
167 private void OnOutsideTouched()
169 OutsideTouchedEventArgs e = new OutsideTouchedEventArgs();
171 if (_popUpOutsideTouchedEventHandler != null)
173 //here we send all data to user event handlers
174 _popUpOutsideTouchedEventHandler(this, e);
179 /// Event is sent when the Popup is starting to be shown.
181 public event EventHandler<ShowingEventArgs> Showing
185 if (_popUpShowingEventHandler == null)
187 _popUpShowingEventCallbackDelegate = (OnShowing);
188 ShowingSignal().Connect(_popUpShowingEventCallbackDelegate);
190 _popUpShowingEventHandler += value;
194 _popUpShowingEventHandler -= value;
195 if (_popUpShowingEventHandler == null && ShowingSignal().Empty() == false)
197 ShowingSignal().Disconnect(_popUpShowingEventCallbackDelegate);
202 // Callback for ShowingSignal
203 private void OnShowing()
205 ShowingEventArgs e = new ShowingEventArgs();
207 if (_popUpShowingEventHandler != null)
209 //here we send all data to user event handlers
210 _popUpShowingEventHandler(this, e);
216 /// Event is sent when the Popup has been fully displayed.
218 public event EventHandler<ShownEventArgs> Shown
222 if (_popUpShownEventHandler == null)
224 _popUpShownEventCallbackDelegate = (OnShown);
225 ShownSignal().Connect(_popUpShownEventCallbackDelegate);
227 _popUpShownEventHandler += value;
231 _popUpShownEventHandler -= value;
232 if (_popUpShownEventHandler == null && ShownSignal().Empty() == false)
234 ShownSignal().Disconnect(_popUpShownEventCallbackDelegate);
239 // Callback for ShownSignal
240 private void OnShown()
242 ShownEventArgs e = new ShownEventArgs();
244 if (_popUpShownEventHandler != null)
246 //here we send all data to user event handlers
247 _popUpShownEventHandler(this, e);
252 /// Event is sent when the Popup is starting to be hidden.
254 public event EventHandler<HidingEventArgs> Hiding
258 if (_popUpHidingEventHandler == null)
260 _popUpHidingEventCallbackDelegate = (OnHiding);
261 HidingSignal().Connect(_popUpHidingEventCallbackDelegate);
263 _popUpHidingEventHandler += value;
267 _popUpHidingEventHandler -= value;
268 if (_popUpHidingEventHandler == null && HidingSignal().Empty() == false)
270 HidingSignal().Disconnect(_popUpHidingEventCallbackDelegate);
275 // Callback for HidingSignal
276 private void OnHiding()
278 HidingEventArgs e = new HidingEventArgs();
280 if (_popUpHidingEventHandler != null)
282 //here we send all data to user event handlers
283 _popUpHidingEventHandler(this, e);
288 /// Event is sent when the Popup has been completely hidden.
290 public event EventHandler<HiddenEventArgs> Hidden
294 if (_popUpHiddenEventHandler == null)
296 _popUpHiddenEventCallbackDelegate = (OnHidden);
297 HiddenSignal().Connect(_popUpHiddenEventCallbackDelegate);
299 _popUpHiddenEventHandler += value;
303 _popUpHiddenEventHandler -= value;
304 if (_popUpHiddenEventHandler == null && HiddenSignal().Empty() == false)
306 HiddenSignal().Disconnect(_popUpHiddenEventCallbackDelegate);
311 // Callback for HiddenSignal
312 private void OnHidden()
314 HiddenEventArgs e = new HiddenEventArgs();
316 if (_popUpHiddenEventHandler != null)
318 //here we send all data to user event handlers
319 _popUpHiddenEventHandler(this, e);
323 internal class Property : global::System.IDisposable
325 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
326 protected bool swigCMemOwn;
328 internal Property(global::System.IntPtr cPtr, bool cMemoryOwn)
330 swigCMemOwn = cMemoryOwn;
331 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
334 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Property obj)
336 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
344 public virtual void Dispose()
348 if (swigCPtr.Handle != global::System.IntPtr.Zero)
353 NDalicPINVOKE.delete_Popup_Property(swigCPtr);
355 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
357 global::System.GC.SuppressFinalize(this);
361 internal Property() : this(NDalicPINVOKE.new_Popup_Property(), true)
363 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
366 internal static readonly int TITLE = NDalicPINVOKE.Popup_Property_TITLE_get();
367 internal static readonly int CONTENT = NDalicPINVOKE.Popup_Property_CONTENT_get();
368 internal static readonly int FOOTER = NDalicPINVOKE.Popup_Property_FOOTER_get();
369 internal static readonly int DISPLAY_STATE = NDalicPINVOKE.Popup_Property_DISPLAY_STATE_get();
370 internal static readonly int TOUCH_TRANSPARENT = NDalicPINVOKE.Popup_Property_TOUCH_TRANSPARENT_get();
371 internal static readonly int TAIL_VISIBILITY = NDalicPINVOKE.Popup_Property_TAIL_VISIBILITY_get();
372 internal static readonly int TAIL_POSITION = NDalicPINVOKE.Popup_Property_TAIL_POSITION_get();
373 internal static readonly int CONTEXTUAL_MODE = NDalicPINVOKE.Popup_Property_CONTEXTUAL_MODE_get();
374 internal static readonly int ANIMATION_DURATION = NDalicPINVOKE.Popup_Property_ANIMATION_DURATION_get();
375 internal static readonly int ANIMATION_MODE = NDalicPINVOKE.Popup_Property_ANIMATION_MODE_get();
376 internal static readonly int ENTRY_ANIMATION = NDalicPINVOKE.Popup_Property_ENTRY_ANIMATION_get();
377 internal static readonly int EXIT_ANIMATION = NDalicPINVOKE.Popup_Property_EXIT_ANIMATION_get();
378 internal static readonly int AUTO_HIDE_DELAY = NDalicPINVOKE.Popup_Property_AUTO_HIDE_DELAY_get();
379 internal static readonly int BACKING_ENABLED = NDalicPINVOKE.Popup_Property_BACKING_ENABLED_get();
380 internal static readonly int BACKING_COLOR = NDalicPINVOKE.Popup_Property_BACKING_COLOR_get();
381 internal static readonly int POPUP_BACKGROUND_IMAGE = NDalicPINVOKE.Popup_Property_POPUP_BACKGROUND_IMAGE_get();
382 internal static readonly int POPUP_BACKGROUND_BORDER = NDalicPINVOKE.Popup_Property_POPUP_BACKGROUND_BORDER_get();
383 internal static readonly int TAIL_UP_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_UP_IMAGE_get();
384 internal static readonly int TAIL_DOWN_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_DOWN_IMAGE_get();
385 internal static readonly int TAIL_LEFT_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_LEFT_IMAGE_get();
386 internal static readonly int TAIL_RIGHT_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_RIGHT_IMAGE_get();
391 /// Create the Popup.
393 public Popup() : this(NDalicPINVOKE.Popup_New(), true)
395 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
398 internal Popup(Popup handle) : this(NDalicPINVOKE.new_Popup__SWIG_1(Popup.getCPtr(handle)), true)
400 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
403 internal Popup Assign(Popup handle)
405 Popup ret = new Popup(NDalicPINVOKE.Popup_Assign(swigCPtr, Popup.getCPtr(handle)), false);
406 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
411 /// Downcasts a handle to Popup handle.<br>
412 /// If handle points to a Popup, the downcast produces valid handle.<br>
413 /// If not the returned handle is left uninitialized.<br>
415 /// <param name="handle">Handle to an object</param>
416 /// <returns>handle to a Popup or an uninitialized handle</returns>
417 public new static Popup DownCast(BaseHandle handle)
419 Popup ret = new Popup(NDalicPINVOKE.Popup_DownCast(BaseHandle.getCPtr(handle)), true);
420 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
425 /// Sets a title for this Popup.
427 /// <param name="titleActor">The actor to set a title</param>
428 public void SetTitle(Actor titleActor)
430 NDalicPINVOKE.Popup_SetTitle(swigCPtr, Actor.getCPtr(titleActor));
431 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
434 internal Actor GetTitle()
436 Actor ret = new Actor(NDalicPINVOKE.Popup_GetTitle(swigCPtr), true);
437 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
442 /// Sets the content actor.
444 /// <param name="content">The actor to use</param>
445 public void SetContent(Actor content)
447 NDalicPINVOKE.Popup_SetContent(swigCPtr, Actor.getCPtr(content));
448 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
451 internal Actor GetContent()
453 Actor ret = new Actor(NDalicPINVOKE.Popup_GetContent(swigCPtr), true);
454 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
459 /// Sets the actor to use for a footer in this Popup.
461 /// <param name="footer">The footer actor to be added to this Popup</param>
462 public void SetFooter(Actor footer)
464 NDalicPINVOKE.Popup_SetFooter(swigCPtr, Actor.getCPtr(footer));
465 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
468 internal Actor GetFooter()
470 Actor ret = new Actor(NDalicPINVOKE.Popup_GetFooter(swigCPtr), true);
471 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
476 /// Sets the display state of Popup.<br>
477 /// There are 4 total display states.<br>
478 /// Only 2 can be set, but all four can be read for better inspection of the current popup state.<br>
480 /// The other two states are getable, but not setable and are there for consistency.<br>
482 /// | Value | Setting the state | Getting the state |<br>
483 /// |----------|--------------------------------|--------------------------------|<br>
484 /// | SHOWN | Show the popup | The popup is fully shown |<br>
485 /// | HIDDEN | Hide the popup | The popup is fully hidden |<br>
486 /// | SHOWING | | The popup is transitioning in |<br>
487 /// | HIDING | | The popup is transitioning out |<br>
489 /// All 4 state changes cause notifications via 4 respective signals that can be connected to.<br>
491 /// <param name="displayState">The desired display state to change to</param>
492 public void SetDisplayState(Popup.DisplayStateType displayState)
494 NDalicPINVOKE.Popup_SetDisplayState(swigCPtr, (int)displayState);
495 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
498 internal Popup.DisplayStateType GetDisplayState()
500 Popup.DisplayStateType ret = (Popup.DisplayStateType)NDalicPINVOKE.Popup_GetDisplayState(swigCPtr);
501 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
505 internal VoidSignal OutsideTouchedSignal()
507 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_OutsideTouchedSignal(swigCPtr), false);
508 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
512 internal VoidSignal ShowingSignal()
514 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_ShowingSignal(swigCPtr), false);
515 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
519 internal VoidSignal ShownSignal()
521 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_ShownSignal(swigCPtr), false);
522 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
526 internal VoidSignal HidingSignal()
528 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_HidingSignal(swigCPtr), false);
529 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
533 internal VoidSignal HiddenSignal()
535 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_HiddenSignal(swigCPtr), false);
536 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
540 internal enum PropertyRange
542 PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
543 PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
547 /// The display states of the Popup.
549 public enum DisplayStateType
558 /// The animation mode within popup.<br>
559 /// Choose from a predefined mode or "CUSTOM" to use the ANIMATION_IN and ANIMATION_OUT properties.<br>
561 public enum AnimationModeType
570 /// Types of contextual layout.<br>
571 /// The Popup is positioned adjacent to it's parent in the direction specified by this mode.<br>
572 /// NON_CONTEXTUAL disables any contextual positioning.<br>
574 public enum ContextualModeType
586 public PropertyMap Title
590 PropertyMap temp = new PropertyMap();
591 GetProperty(Popup.Property.TITLE).Get(temp);
596 SetProperty(Popup.Property.TITLE, new Tizen.NUI.PropertyValue(value));
602 public PropertyMap Content
606 PropertyMap temp = new PropertyMap();
607 GetProperty(Popup.Property.CONTENT).Get(temp);
612 SetProperty(Popup.Property.CONTENT, new Tizen.NUI.PropertyValue(value));
618 public PropertyMap Footer
622 PropertyMap temp = new PropertyMap();
623 GetProperty(Popup.Property.FOOTER).Get(temp);
628 SetProperty(Popup.Property.FOOTER, new Tizen.NUI.PropertyValue(value));
632 /// Popup display state.
634 public DisplayStateType DisplayState
639 if (GetProperty(Popup.Property.DISPLAY_STATE).Get(out temp) == false)
641 //Tizen.Log.Error("NUI", "DisplayState get error!");
646 return DisplayStateType.Showing;
648 return DisplayStateType.Shown;
650 return DisplayStateType.Hiding;
652 return DisplayStateType.Hidden;
654 return DisplayStateType.Hidden;
659 string valueToString = "";
662 case DisplayStateType.Showing:
664 valueToString = "SHOWING";
667 case DisplayStateType.Shown:
669 valueToString = "SHOWN";
672 case DisplayStateType.Hiding:
674 valueToString = "HIDING";
677 case DisplayStateType.Hidden:
679 valueToString = "HIDDEN";
684 valueToString = "HIDDEN";
688 SetProperty(Popup.Property.DISPLAY_STATE, new Tizen.NUI.PropertyValue(valueToString));
692 /// Touch transparent.
694 public bool TouchTransparent
699 GetProperty(Popup.Property.TOUCH_TRANSPARENT).Get(ref temp);
704 SetProperty(Popup.Property.TOUCH_TRANSPARENT, new Tizen.NUI.PropertyValue(value));
708 /// Popup tail visibility.
710 public bool TailVisibility
715 GetProperty(Popup.Property.TAIL_VISIBILITY).Get(ref temp);
720 SetProperty(Popup.Property.TAIL_VISIBILITY, new Tizen.NUI.PropertyValue(value));
724 /// Popup tail position.
726 public Vector3 TailPosition
730 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
731 GetProperty(Popup.Property.TAIL_POSITION).Get(temp);
736 SetProperty(Popup.Property.TAIL_POSITION, new Tizen.NUI.PropertyValue(value));
742 public ContextualModeType ContextualMode
747 if (GetProperty(Popup.Property.CONTEXTUAL_MODE).Get(out temp) == false)
749 //Tizen.Log.Error("NUI", "ContextualMode get error!");
753 case "NON_CONTEXTUAL":
754 return ContextualModeType.NonContextual;
756 return ContextualModeType.Above;
758 return ContextualModeType.Rright;
760 return ContextualModeType.Below;
762 return ContextualModeType.Left;
764 return ContextualModeType.Below;
769 string valueToString = "";
772 case ContextualModeType.NonContextual:
774 valueToString = "NON_CONTEXTUAL";
777 case ContextualModeType.Above:
779 valueToString = "ABOVE";
782 case ContextualModeType.Rright:
784 valueToString = "RIGHT";
787 case ContextualModeType.Below:
789 valueToString = "BELOW";
792 case ContextualModeType.Left:
794 valueToString = "LEFT";
799 valueToString = "BELOW";
803 SetProperty(Popup.Property.CONTEXTUAL_MODE, new Tizen.NUI.PropertyValue(valueToString));
807 /// Animation duration.
809 public float AnimationDuration
814 GetProperty(Popup.Property.ANIMATION_DURATION).Get(ref temp);
819 SetProperty(Popup.Property.ANIMATION_DURATION, new Tizen.NUI.PropertyValue(value));
825 public AnimationModeType AnimationMode
830 if (GetProperty(Popup.Property.ANIMATION_MODE).Get(out temp) == false)
832 //Tizen.Log.Error("NUI", "AnimationMode get error!");
837 return AnimationModeType.None;
839 return AnimationModeType.Zoom;
841 return AnimationModeType.Fade;
843 return AnimationModeType.Custom;
845 return AnimationModeType.Fade;
850 string valueToString = "";
853 case AnimationModeType.None:
855 valueToString = "NONE";
858 case AnimationModeType.Zoom:
860 valueToString = "ZOOM";
863 case AnimationModeType.Fade:
865 valueToString = "FADE";
868 case AnimationModeType.Custom:
870 valueToString = "CUSTOM";
875 valueToString = "FADE";
879 SetProperty(Popup.Property.ANIMATION_MODE, new Tizen.NUI.PropertyValue(valueToString));
885 public PropertyMap EntryAnimation
889 PropertyMap temp = new PropertyMap();
890 GetProperty(Popup.Property.ENTRY_ANIMATION).Get(temp);
895 SetProperty(Popup.Property.ENTRY_ANIMATION, new Tizen.NUI.PropertyValue(value));
901 public PropertyMap ExitAnimation
905 PropertyMap temp = new PropertyMap();
906 GetProperty(Popup.Property.EXIT_ANIMATION).Get(temp);
911 SetProperty(Popup.Property.EXIT_ANIMATION, new Tizen.NUI.PropertyValue(value));
917 public int AutoHideDelay
922 GetProperty(Popup.Property.AUTO_HIDE_DELAY).Get(ref temp);
927 SetProperty(Popup.Property.AUTO_HIDE_DELAY, new Tizen.NUI.PropertyValue(value));
933 public bool BackingEnabled
938 GetProperty(Popup.Property.BACKING_ENABLED).Get(ref temp);
943 SetProperty(Popup.Property.BACKING_ENABLED, new Tizen.NUI.PropertyValue(value));
949 public Vector4 BackingColor
953 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
954 GetProperty(Popup.Property.BACKING_COLOR).Get(temp);
959 SetProperty(Popup.Property.BACKING_COLOR, new Tizen.NUI.PropertyValue(value));
963 /// Background image.
965 public string PopupBackgroundImage
970 GetProperty(Popup.Property.POPUP_BACKGROUND_IMAGE).Get(out temp);
975 SetProperty(Popup.Property.POPUP_BACKGROUND_IMAGE, new Tizen.NUI.PropertyValue(value));
979 /// Background border.
981 public Rectangle PopupBackgroundBorder
985 Rectangle temp = new Rectangle(0, 0, 0, 0);
986 GetProperty(Popup.Property.POPUP_BACKGROUND_BORDER).Get(temp);
991 SetProperty(Popup.Property.POPUP_BACKGROUND_BORDER, new Tizen.NUI.PropertyValue(value));
997 public string TailUpImage
1002 GetProperty(Popup.Property.TAIL_UP_IMAGE).Get(out temp);
1007 SetProperty(Popup.Property.TAIL_UP_IMAGE, new Tizen.NUI.PropertyValue(value));
1011 /// Tail down image.
1013 public string TailDownImage
1018 GetProperty(Popup.Property.TAIL_DOWN_IMAGE).Get(out temp);
1023 SetProperty(Popup.Property.TAIL_DOWN_IMAGE, new Tizen.NUI.PropertyValue(value));
1027 /// Tail left image.
1029 public string TailLeftImage
1034 GetProperty(Popup.Property.TAIL_LEFT_IMAGE).Get(out temp);
1039 SetProperty(Popup.Property.TAIL_LEFT_IMAGE, new Tizen.NUI.PropertyValue(value));
1043 /// Tail right image.
1045 public string TailRightImage
1050 GetProperty(Popup.Property.TAIL_RIGHT_IMAGE).Get(out temp);
1055 SetProperty(Popup.Property.TAIL_RIGHT_IMAGE, new Tizen.NUI.PropertyValue(value));