1 /** Copyright (c) 2017 Samsung Electronics Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
17 namespace Tizen.NUI.UIComponents
21 using System.Runtime.InteropServices;
22 using Tizen.NUI.BaseComponents;
25 /// The Popup widget provides a configurable popup dialog with a built-in layout of three main fields.
27 public class Popup : View
29 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
31 internal Popup(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Popup_SWIGUpcast(cPtr), cMemoryOwn)
33 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
36 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Popup obj)
38 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
42 protected override void Dispose(DisposeTypes type)
49 if (type == DisposeTypes.Explicit)
52 //Release your own managed resources here.
53 //You should release all of your own disposable objects here.
57 //Release your own unmanaged resources here.
58 //You should not access any managed member here except static instance.
59 //because the execution order of Finalizes is non-deterministic.
61 if (_popUpHiddenEventCallbackDelegate != null)
63 HiddenSignal().Disconnect(_popUpHiddenEventCallbackDelegate);
66 if (_popUpHidingEventCallbackDelegate != null)
68 HidingSignal().Disconnect(_popUpHidingEventCallbackDelegate);
71 if (_popUpShownEventCallbackDelegate != null)
73 ShownSignal().Disconnect(_popUpShownEventCallbackDelegate);
76 if (_popUpShowingEventCallbackDelegate != null)
78 ShowingSignal().Disconnect(_popUpShowingEventCallbackDelegate);
81 if (_popUpOutsideTouchedEventCallbackDelegate != null)
83 this.OutsideTouchedSignal().Disconnect(_popUpOutsideTouchedEventCallbackDelegate);
86 if (swigCPtr.Handle != global::System.IntPtr.Zero)
91 NDalicPINVOKE.delete_Popup(swigCPtr);
93 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
103 /// Event arguments that passed via the OutsideTouchedEvent.
105 public class TouchedOutsideEventArgs : EventArgs
110 /// Event arguments that passed via the ShowingEventArgs.
112 public class ShowingEventArgs : EventArgs
117 /// Event arguments that passed via the ShownEventArgs.
119 public class ShownEventArgs : EventArgs
124 /// Event arguments that passed via the HidingEventArgs.
126 public class HidingEventArgs : EventArgs
131 /// Event arguments that passed via the HiddenEventArgs.
133 public class HiddenEventArgs : EventArgs
137 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
138 private delegate void OutsideTouchedEventCallbackDelegate();
139 private EventHandler<TouchedOutsideEventArgs> _popUpOutsideTouchedEventHandler;
140 private OutsideTouchedEventCallbackDelegate _popUpOutsideTouchedEventCallbackDelegate;
142 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
143 private delegate void ShowingEventCallbackDelegate();
144 private EventHandler<ShowingEventArgs> _popUpShowingEventHandler;
145 private ShowingEventCallbackDelegate _popUpShowingEventCallbackDelegate;
147 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
148 private delegate void ShownEventCallbackDelegate();
149 private EventHandler<ShownEventArgs> _popUpShownEventHandler;
150 private ShownEventCallbackDelegate _popUpShownEventCallbackDelegate;
152 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
153 private delegate void HidingEventCallbackDelegate();
154 private EventHandler<HidingEventArgs> _popUpHidingEventHandler;
155 private HidingEventCallbackDelegate _popUpHidingEventCallbackDelegate;
157 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
158 private delegate void HiddenEventCallbackDelegate();
159 private EventHandler<HiddenEventArgs> _popUpHiddenEventHandler;
160 private HiddenEventCallbackDelegate _popUpHiddenEventCallbackDelegate;
163 /// An event is sent when the user has touched outside the dialog.
165 public event EventHandler<TouchedOutsideEventArgs> TouchedOutside
169 if (_popUpOutsideTouchedEventHandler == null)
171 _popUpOutsideTouchedEventCallbackDelegate = (OnOutsideTouched);
172 OutsideTouchedSignal().Connect(_popUpOutsideTouchedEventCallbackDelegate);
174 _popUpOutsideTouchedEventHandler += value;
178 _popUpOutsideTouchedEventHandler -= value;
179 if (_popUpOutsideTouchedEventHandler == null && OutsideTouchedSignal().Empty() == false)
181 this.OutsideTouchedSignal().Disconnect(_popUpOutsideTouchedEventCallbackDelegate);
186 // Callback for Popup OutsideTouchedSignal
187 private void OnOutsideTouched()
189 TouchedOutsideEventArgs e = new TouchedOutsideEventArgs();
191 if (_popUpOutsideTouchedEventHandler != null)
193 //here we send all data to user event handlers
194 _popUpOutsideTouchedEventHandler(this, e);
199 /// An event is sent when the popup starts showing.
201 public event EventHandler<ShowingEventArgs> Showing
205 if (_popUpShowingEventHandler == null)
207 _popUpShowingEventCallbackDelegate = (OnShowing);
208 ShowingSignal().Connect(_popUpShowingEventCallbackDelegate);
210 _popUpShowingEventHandler += value;
214 _popUpShowingEventHandler -= value;
215 if (_popUpShowingEventHandler == null && ShowingSignal().Empty() == false)
217 ShowingSignal().Disconnect(_popUpShowingEventCallbackDelegate);
222 // Callback for ShowingSignal
223 private void OnShowing()
225 ShowingEventArgs e = new ShowingEventArgs();
227 if (_popUpShowingEventHandler != null)
229 //here we send all data to user event handlers
230 _popUpShowingEventHandler(this, e);
236 /// An event is sent when the popup has been fully displayed.
238 public event EventHandler<ShownEventArgs> Shown
242 if (_popUpShownEventHandler == null)
244 _popUpShownEventCallbackDelegate = (OnShown);
245 ShownSignal().Connect(_popUpShownEventCallbackDelegate);
247 _popUpShownEventHandler += value;
251 _popUpShownEventHandler -= value;
252 if (_popUpShownEventHandler == null && ShownSignal().Empty() == false)
254 ShownSignal().Disconnect(_popUpShownEventCallbackDelegate);
259 // Callback for ShownSignal
260 private void OnShown()
262 ShownEventArgs e = new ShownEventArgs();
264 if (_popUpShownEventHandler != null)
266 //here we send all data to user event handlers
267 _popUpShownEventHandler(this, e);
272 /// An event is sent when the popup starts to hide.
274 public event EventHandler<HidingEventArgs> Hiding
278 if (_popUpHidingEventHandler == null)
280 _popUpHidingEventCallbackDelegate = (OnHiding);
281 HidingSignal().Connect(_popUpHidingEventCallbackDelegate);
283 _popUpHidingEventHandler += value;
287 _popUpHidingEventHandler -= value;
288 if (_popUpHidingEventHandler == null && HidingSignal().Empty() == false)
290 HidingSignal().Disconnect(_popUpHidingEventCallbackDelegate);
295 // Callback for HidingSignal
296 private void OnHiding()
298 HidingEventArgs e = new HidingEventArgs();
300 if (_popUpHidingEventHandler != null)
302 //here we send all data to user event handlers
303 _popUpHidingEventHandler(this, e);
308 /// An event is sent when the popup has been completely hidden.
310 public event EventHandler<HiddenEventArgs> Hidden
314 if (_popUpHiddenEventHandler == null)
316 _popUpHiddenEventCallbackDelegate = (OnHidden);
317 HiddenSignal().Connect(_popUpHiddenEventCallbackDelegate);
319 _popUpHiddenEventHandler += value;
323 _popUpHiddenEventHandler -= value;
324 if (_popUpHiddenEventHandler == null && HiddenSignal().Empty() == false)
326 HiddenSignal().Disconnect(_popUpHiddenEventCallbackDelegate);
331 // Callback for HiddenSignal
332 private void OnHidden()
334 HiddenEventArgs e = new HiddenEventArgs();
336 if (_popUpHiddenEventHandler != null)
338 //here we send all data to user event handlers
339 _popUpHiddenEventHandler(this, e);
343 internal new class Property
345 internal static readonly int TITLE = NDalicPINVOKE.Popup_Property_TITLE_get();
346 internal static readonly int CONTENT = NDalicPINVOKE.Popup_Property_CONTENT_get();
347 internal static readonly int FOOTER = NDalicPINVOKE.Popup_Property_FOOTER_get();
348 internal static readonly int DISPLAY_STATE = NDalicPINVOKE.Popup_Property_DISPLAY_STATE_get();
349 internal static readonly int TOUCH_TRANSPARENT = NDalicPINVOKE.Popup_Property_TOUCH_TRANSPARENT_get();
350 internal static readonly int TAIL_VISIBILITY = NDalicPINVOKE.Popup_Property_TAIL_VISIBILITY_get();
351 internal static readonly int TAIL_POSITION = NDalicPINVOKE.Popup_Property_TAIL_POSITION_get();
352 internal static readonly int CONTEXTUAL_MODE = NDalicPINVOKE.Popup_Property_CONTEXTUAL_MODE_get();
353 internal static readonly int ANIMATION_DURATION = NDalicPINVOKE.Popup_Property_ANIMATION_DURATION_get();
354 internal static readonly int ANIMATION_MODE = NDalicPINVOKE.Popup_Property_ANIMATION_MODE_get();
355 internal static readonly int ENTRY_ANIMATION = NDalicPINVOKE.Popup_Property_ENTRY_ANIMATION_get();
356 internal static readonly int EXIT_ANIMATION = NDalicPINVOKE.Popup_Property_EXIT_ANIMATION_get();
357 internal static readonly int AUTO_HIDE_DELAY = NDalicPINVOKE.Popup_Property_AUTO_HIDE_DELAY_get();
358 internal static readonly int BACKING_ENABLED = NDalicPINVOKE.Popup_Property_BACKING_ENABLED_get();
359 internal static readonly int BACKING_COLOR = NDalicPINVOKE.Popup_Property_BACKING_COLOR_get();
360 internal static readonly int POPUP_BACKGROUND_IMAGE = NDalicPINVOKE.Popup_Property_POPUP_BACKGROUND_IMAGE_get();
361 internal static readonly int POPUP_BACKGROUND_BORDER = NDalicPINVOKE.Popup_Property_POPUP_BACKGROUND_BORDER_get();
362 internal static readonly int TAIL_UP_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_UP_IMAGE_get();
363 internal static readonly int TAIL_DOWN_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_DOWN_IMAGE_get();
364 internal static readonly int TAIL_LEFT_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_LEFT_IMAGE_get();
365 internal static readonly int TAIL_RIGHT_IMAGE = NDalicPINVOKE.Popup_Property_TAIL_RIGHT_IMAGE_get();
369 /// Creates the popup.
371 public Popup() : this(NDalicPINVOKE.Popup_New(), true)
373 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
377 [Obsolete("Please do not use! this will be deprecated")]
378 public new static Popup DownCast(BaseHandle handle)
380 Popup ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as Popup;
381 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
386 /// Sets the title for this popup.
388 /// <param name="titleView">The actor to set the title.</param>
389 public void SetTitle(View titleView)
391 NDalicPINVOKE.Popup_SetTitle(swigCPtr, View.getCPtr(titleView));
392 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
395 internal View GetTitle()
397 IntPtr cPtr = NDalicPINVOKE.Popup_GetTitle(swigCPtr);
398 View ret = Registry.GetManagedBaseHandleFromNativePtr(cPtr) as View;
400 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
405 /// Sets the content actor.
407 /// <param name="content">The actor to use.</param>
408 public void SetContent(View content)
410 NDalicPINVOKE.Popup_SetContent(swigCPtr, View.getCPtr(content));
411 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
414 internal View GetContent()
416 IntPtr cPtr = NDalicPINVOKE.Popup_GetContent(swigCPtr);
417 View ret = Registry.GetManagedBaseHandleFromNativePtr(cPtr) as View;
419 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
424 /// Sets the actor to use for the footer in this popup.
426 /// <param name="footer">The footer actor to be added to this popup.</param>
427 public void SetFooter(View footer)
429 NDalicPINVOKE.Popup_SetFooter(swigCPtr, View.getCPtr(footer));
430 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
433 internal View GetFooter()
435 IntPtr cPtr = NDalicPINVOKE.Popup_GetFooter(swigCPtr);
436 View ret = Registry.GetManagedBaseHandleFromNativePtr(cPtr) as View;
438 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
443 /// Sets the display state of popup.<br>
444 /// There are 4 total display states.<br>
445 /// Only 2 can be set, but all four can be read for better inspection of the current popup state.<br>
447 /// The other two states are getable, but not setable, and are there for consistency.<br>
449 /// | Value | Setting the state | Getting the state |<br>
450 /// |----------|--------------------------------|--------------------------------|<br>
451 /// | SHOWN | Show the popup | The popup is fully shown |<br>
452 /// | HIDDEN | Hide the popup | The popup is fully hidden |<br>
453 /// | SHOWING | | The popup is transitioning in |<br>
454 /// | HIDING | | The popup is transitioning out |<br>
456 /// All 4 states changes cause notifications via 4 respective signals that can be connected to.<br>
458 /// <param name="displayState">The desired display state to change to.</param>
459 public void SetDisplayState(Popup.DisplayStateType displayState)
461 NDalicPINVOKE.Popup_SetDisplayState(swigCPtr, (int)displayState);
462 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
465 internal Popup.DisplayStateType GetDisplayState()
467 Popup.DisplayStateType ret = (Popup.DisplayStateType)NDalicPINVOKE.Popup_GetDisplayState(swigCPtr);
468 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
472 internal VoidSignal OutsideTouchedSignal()
474 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_OutsideTouchedSignal(swigCPtr), false);
475 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
479 internal VoidSignal ShowingSignal()
481 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_ShowingSignal(swigCPtr), false);
482 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
486 internal VoidSignal ShownSignal()
488 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_ShownSignal(swigCPtr), false);
489 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
493 internal VoidSignal HidingSignal()
495 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_HidingSignal(swigCPtr), false);
496 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
500 internal VoidSignal HiddenSignal()
502 VoidSignal ret = new VoidSignal(NDalicPINVOKE.Popup_HiddenSignal(swigCPtr), false);
503 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
508 /// The display states of the popup.
510 public enum DisplayStateType
519 /// The animation modes within the popup.<br>
520 /// Choose from a predefined mode or "CUSTOM" to use the ANIMATION_IN and ANIMATION_OUT properties.<br>
522 public enum AnimationModeType
531 /// The types of the contextual layout.<br>
532 /// The popup is positioned adjacent to it's parent in the direction specified by this mode.<br>
533 /// NON_CONTEXTUAL disables any contextual positioning.<br>
535 public enum ContextualModeType
547 public PropertyMap Title
551 PropertyMap temp = new PropertyMap();
552 GetProperty(Popup.Property.TITLE).Get(temp);
557 SetProperty(Popup.Property.TITLE, new Tizen.NUI.PropertyValue(value));
561 /// The popup content.
563 public PropertyMap Content
567 PropertyMap temp = new PropertyMap();
568 GetProperty(Popup.Property.CONTENT).Get(temp);
573 SetProperty(Popup.Property.CONTENT, new Tizen.NUI.PropertyValue(value));
577 /// The popup footer.
579 public PropertyMap Footer
583 PropertyMap temp = new PropertyMap();
584 GetProperty(Popup.Property.FOOTER).Get(temp);
589 SetProperty(Popup.Property.FOOTER, new Tizen.NUI.PropertyValue(value));
593 /// The popup display state.
595 public DisplayStateType DisplayState
600 if (GetProperty(Popup.Property.DISPLAY_STATE).Get(out temp) == false)
602 NUILog.Error("DisplayState get error!");
607 return DisplayStateType.Showing;
609 return DisplayStateType.Shown;
611 return DisplayStateType.Hiding;
613 return DisplayStateType.Hidden;
615 return DisplayStateType.Hidden;
620 string valueToString = "";
623 case DisplayStateType.Showing:
625 valueToString = "SHOWING";
628 case DisplayStateType.Shown:
630 valueToString = "SHOWN";
633 case DisplayStateType.Hiding:
635 valueToString = "HIDING";
638 case DisplayStateType.Hidden:
640 valueToString = "HIDDEN";
645 valueToString = "HIDDEN";
649 SetProperty(Popup.Property.DISPLAY_STATE, new Tizen.NUI.PropertyValue(valueToString));
653 /// The touch transparent.
655 public bool TouchTransparent
660 GetProperty(Popup.Property.TOUCH_TRANSPARENT).Get(out temp);
665 SetProperty(Popup.Property.TOUCH_TRANSPARENT, new Tizen.NUI.PropertyValue(value));
669 /// The popup tail visibility.
671 public bool TailVisibility
676 GetProperty(Popup.Property.TAIL_VISIBILITY).Get(out temp);
681 SetProperty(Popup.Property.TAIL_VISIBILITY, new Tizen.NUI.PropertyValue(value));
685 /// The popup tail position.
687 public Vector3 TailPosition
691 Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
692 GetProperty(Popup.Property.TAIL_POSITION).Get(temp);
697 SetProperty(Popup.Property.TAIL_POSITION, new Tizen.NUI.PropertyValue(value));
701 /// The contextual mode.
703 public ContextualModeType ContextualMode
708 if (GetProperty(Popup.Property.CONTEXTUAL_MODE).Get(out temp) == false)
710 NUILog.Error("ContextualMode get error!");
714 case "NON_CONTEXTUAL":
715 return ContextualModeType.NonContextual;
717 return ContextualModeType.Above;
719 return ContextualModeType.Rright;
721 return ContextualModeType.Below;
723 return ContextualModeType.Left;
725 return ContextualModeType.Below;
730 string valueToString = "";
733 case ContextualModeType.NonContextual:
735 valueToString = "NON_CONTEXTUAL";
738 case ContextualModeType.Above:
740 valueToString = "ABOVE";
743 case ContextualModeType.Rright:
745 valueToString = "RIGHT";
748 case ContextualModeType.Below:
750 valueToString = "BELOW";
753 case ContextualModeType.Left:
755 valueToString = "LEFT";
760 valueToString = "BELOW";
764 SetProperty(Popup.Property.CONTEXTUAL_MODE, new Tizen.NUI.PropertyValue(valueToString));
768 /// The animation duration.
770 public float AnimationDuration
775 GetProperty(Popup.Property.ANIMATION_DURATION).Get(out temp);
780 SetProperty(Popup.Property.ANIMATION_DURATION, new Tizen.NUI.PropertyValue(value));
784 /// The animation mode.
786 public AnimationModeType AnimationMode
791 if (GetProperty(Popup.Property.ANIMATION_MODE).Get(out temp) == false)
793 NUILog.Error("AnimationMode get error!");
798 return AnimationModeType.None;
800 return AnimationModeType.Zoom;
802 return AnimationModeType.Fade;
804 return AnimationModeType.Custom;
806 return AnimationModeType.Fade;
811 string valueToString = "";
814 case AnimationModeType.None:
816 valueToString = "NONE";
819 case AnimationModeType.Zoom:
821 valueToString = "ZOOM";
824 case AnimationModeType.Fade:
826 valueToString = "FADE";
829 case AnimationModeType.Custom:
831 valueToString = "CUSTOM";
836 valueToString = "FADE";
840 SetProperty(Popup.Property.ANIMATION_MODE, new Tizen.NUI.PropertyValue(valueToString));
844 /// The entry animation.
846 public PropertyMap EntryAnimation
850 PropertyMap temp = new PropertyMap();
851 GetProperty(Popup.Property.ENTRY_ANIMATION).Get(temp);
856 SetProperty(Popup.Property.ENTRY_ANIMATION, new Tizen.NUI.PropertyValue(value));
860 /// The exit animation.
862 public PropertyMap ExitAnimation
866 PropertyMap temp = new PropertyMap();
867 GetProperty(Popup.Property.EXIT_ANIMATION).Get(temp);
872 SetProperty(Popup.Property.EXIT_ANIMATION, new Tizen.NUI.PropertyValue(value));
876 /// The auto hide delay.
878 public int AutoHideDelay
883 GetProperty(Popup.Property.AUTO_HIDE_DELAY).Get(out temp);
888 SetProperty(Popup.Property.AUTO_HIDE_DELAY, new Tizen.NUI.PropertyValue(value));
892 /// The backing enabled.
894 public bool BackingEnabled
899 GetProperty(Popup.Property.BACKING_ENABLED).Get(out temp);
904 SetProperty(Popup.Property.BACKING_ENABLED, new Tizen.NUI.PropertyValue(value));
908 /// The backing color.
910 public Vector4 BackingColor
914 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
915 GetProperty(Popup.Property.BACKING_COLOR).Get(temp);
920 SetProperty(Popup.Property.BACKING_COLOR, new Tizen.NUI.PropertyValue(value));
924 /// The background image.
926 public string PopupBackgroundImage
931 GetProperty(Popup.Property.POPUP_BACKGROUND_IMAGE).Get(out temp);
936 SetProperty(Popup.Property.POPUP_BACKGROUND_IMAGE, new Tizen.NUI.PropertyValue(value));
940 /// The background border.
942 public Rectangle PopupBackgroundBorder
946 Rectangle temp = new Rectangle(0, 0, 0, 0);
947 GetProperty(Popup.Property.POPUP_BACKGROUND_BORDER).Get(temp);
952 SetProperty(Popup.Property.POPUP_BACKGROUND_BORDER, new Tizen.NUI.PropertyValue(value));
956 /// The tail up image.
958 public string TailUpImage
963 GetProperty(Popup.Property.TAIL_UP_IMAGE).Get(out temp);
968 SetProperty(Popup.Property.TAIL_UP_IMAGE, new Tizen.NUI.PropertyValue(value));
972 /// The tail down image.
974 public string TailDownImage
979 GetProperty(Popup.Property.TAIL_DOWN_IMAGE).Get(out temp);
984 SetProperty(Popup.Property.TAIL_DOWN_IMAGE, new Tizen.NUI.PropertyValue(value));
988 /// The tail left image.
990 public string TailLeftImage
995 GetProperty(Popup.Property.TAIL_LEFT_IMAGE).Get(out temp);
1000 SetProperty(Popup.Property.TAIL_LEFT_IMAGE, new Tizen.NUI.PropertyValue(value));
1004 /// The tail right image.
1006 public string TailRightImage
1011 GetProperty(Popup.Property.TAIL_RIGHT_IMAGE).Get(out temp);
1016 SetProperty(Popup.Property.TAIL_RIGHT_IMAGE, new Tizen.NUI.PropertyValue(value));