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 (!Window.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;
336 DisposeQueue.Instance.Add(this);
339 public virtual void Dispose()
341 if (!Window.IsInstalled()) {
342 DisposeQueue.Instance.Add(this);
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(View titleView)
430 NDalicPINVOKE.Popup_SetTitle(swigCPtr, View.getCPtr(titleView));
431 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
434 internal View GetTitle()
436 View ret = new View(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(View content)
447 NDalicPINVOKE.Popup_SetContent(swigCPtr, View.getCPtr(content));
448 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
451 internal View GetContent()
453 View ret = new View(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(View footer)
464 NDalicPINVOKE.Popup_SetFooter(swigCPtr, View.getCPtr(footer));
465 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
468 internal View GetFooter()
470 View ret = new View(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)
642 Tizen.Log.Error("NUI", "DisplayState get error!");
648 return DisplayStateType.Showing;
650 return DisplayStateType.Shown;
652 return DisplayStateType.Hiding;
654 return DisplayStateType.Hidden;
656 return DisplayStateType.Hidden;
661 string valueToString = "";
664 case DisplayStateType.Showing:
666 valueToString = "SHOWING";
669 case DisplayStateType.Shown:
671 valueToString = "SHOWN";
674 case DisplayStateType.Hiding:
676 valueToString = "HIDING";
679 case DisplayStateType.Hidden:
681 valueToString = "HIDDEN";
686 valueToString = "HIDDEN";
690 SetProperty(Popup.Property.DISPLAY_STATE, new Tizen.NUI.PropertyValue(valueToString));
694 /// Touch transparent.
696 public bool TouchTransparent
701 GetProperty(Popup.Property.TOUCH_TRANSPARENT).Get(ref temp);
706 SetProperty(Popup.Property.TOUCH_TRANSPARENT, new Tizen.NUI.PropertyValue(value));
710 /// Popup tail visibility.
712 public bool TailVisibility
717 GetProperty(Popup.Property.TAIL_VISIBILITY).Get(ref temp);
722 SetProperty(Popup.Property.TAIL_VISIBILITY, new Tizen.NUI.PropertyValue(value));
726 /// Popup tail position.
728 public Vector3 TailPosition
732 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
733 GetProperty(Popup.Property.TAIL_POSITION).Get(temp);
738 SetProperty(Popup.Property.TAIL_POSITION, new Tizen.NUI.PropertyValue(value));
744 public ContextualModeType ContextualMode
749 if (GetProperty(Popup.Property.CONTEXTUAL_MODE).Get(out temp) == false)
752 Tizen.Log.Error("NUI", "ContextualMode get error!");
757 case "NON_CONTEXTUAL":
758 return ContextualModeType.NonContextual;
760 return ContextualModeType.Above;
762 return ContextualModeType.Rright;
764 return ContextualModeType.Below;
766 return ContextualModeType.Left;
768 return ContextualModeType.Below;
773 string valueToString = "";
776 case ContextualModeType.NonContextual:
778 valueToString = "NON_CONTEXTUAL";
781 case ContextualModeType.Above:
783 valueToString = "ABOVE";
786 case ContextualModeType.Rright:
788 valueToString = "RIGHT";
791 case ContextualModeType.Below:
793 valueToString = "BELOW";
796 case ContextualModeType.Left:
798 valueToString = "LEFT";
803 valueToString = "BELOW";
807 SetProperty(Popup.Property.CONTEXTUAL_MODE, new Tizen.NUI.PropertyValue(valueToString));
811 /// Animation duration.
813 public float AnimationDuration
818 GetProperty(Popup.Property.ANIMATION_DURATION).Get(ref temp);
823 SetProperty(Popup.Property.ANIMATION_DURATION, new Tizen.NUI.PropertyValue(value));
829 public AnimationModeType AnimationMode
834 if (GetProperty(Popup.Property.ANIMATION_MODE).Get(out temp) == false)
837 Tizen.Log.Error("NUI", "AnimationMode get error!");
843 return AnimationModeType.None;
845 return AnimationModeType.Zoom;
847 return AnimationModeType.Fade;
849 return AnimationModeType.Custom;
851 return AnimationModeType.Fade;
856 string valueToString = "";
859 case AnimationModeType.None:
861 valueToString = "NONE";
864 case AnimationModeType.Zoom:
866 valueToString = "ZOOM";
869 case AnimationModeType.Fade:
871 valueToString = "FADE";
874 case AnimationModeType.Custom:
876 valueToString = "CUSTOM";
881 valueToString = "FADE";
885 SetProperty(Popup.Property.ANIMATION_MODE, new Tizen.NUI.PropertyValue(valueToString));
891 public PropertyMap EntryAnimation
895 PropertyMap temp = new PropertyMap();
896 GetProperty(Popup.Property.ENTRY_ANIMATION).Get(temp);
901 SetProperty(Popup.Property.ENTRY_ANIMATION, new Tizen.NUI.PropertyValue(value));
907 public PropertyMap ExitAnimation
911 PropertyMap temp = new PropertyMap();
912 GetProperty(Popup.Property.EXIT_ANIMATION).Get(temp);
917 SetProperty(Popup.Property.EXIT_ANIMATION, new Tizen.NUI.PropertyValue(value));
923 public int AutoHideDelay
928 GetProperty(Popup.Property.AUTO_HIDE_DELAY).Get(ref temp);
933 SetProperty(Popup.Property.AUTO_HIDE_DELAY, new Tizen.NUI.PropertyValue(value));
939 public bool BackingEnabled
944 GetProperty(Popup.Property.BACKING_ENABLED).Get(ref temp);
949 SetProperty(Popup.Property.BACKING_ENABLED, new Tizen.NUI.PropertyValue(value));
955 public Vector4 BackingColor
959 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
960 GetProperty(Popup.Property.BACKING_COLOR).Get(temp);
965 SetProperty(Popup.Property.BACKING_COLOR, new Tizen.NUI.PropertyValue(value));
969 /// Background image.
971 public string PopupBackgroundImage
976 GetProperty(Popup.Property.POPUP_BACKGROUND_IMAGE).Get(out temp);
981 SetProperty(Popup.Property.POPUP_BACKGROUND_IMAGE, new Tizen.NUI.PropertyValue(value));
985 /// Background border.
987 public Rectangle PopupBackgroundBorder
991 Rectangle temp = new Rectangle(0, 0, 0, 0);
992 GetProperty(Popup.Property.POPUP_BACKGROUND_BORDER).Get(temp);
997 SetProperty(Popup.Property.POPUP_BACKGROUND_BORDER, new Tizen.NUI.PropertyValue(value));
1003 public string TailUpImage
1008 GetProperty(Popup.Property.TAIL_UP_IMAGE).Get(out temp);
1013 SetProperty(Popup.Property.TAIL_UP_IMAGE, new Tizen.NUI.PropertyValue(value));
1017 /// Tail down image.
1019 public string TailDownImage
1024 GetProperty(Popup.Property.TAIL_DOWN_IMAGE).Get(out temp);
1029 SetProperty(Popup.Property.TAIL_DOWN_IMAGE, new Tizen.NUI.PropertyValue(value));
1033 /// Tail left image.
1035 public string TailLeftImage
1040 GetProperty(Popup.Property.TAIL_LEFT_IMAGE).Get(out temp);
1045 SetProperty(Popup.Property.TAIL_LEFT_IMAGE, new Tizen.NUI.PropertyValue(value));
1049 /// Tail right image.
1051 public string TailRightImage
1056 GetProperty(Popup.Property.TAIL_RIGHT_IMAGE).Get(out temp);
1061 SetProperty(Popup.Property.TAIL_RIGHT_IMAGE, new Tizen.NUI.PropertyValue(value));