Definition
- Namespace:
- Tizen.NUI.UIComponents
- Assembly:
- Tizen.NUI.dll
The Popup widget provides a configurable popup dialog with a built-in layout of three main fields.
public class Popup : View, IDisposable
- Inheritance
-
- Implements
-
System.IDisposable
Constructors
Declaration
Properties
Declaration
public float AnimationDuration { get; set; }
Property Value
Declaration
public Popup.AnimationModeType AnimationMode { get; set; }
Property Value
Declaration
public int AutoHideDelay { get; set; }
Property Value
Declaration
public Vector4 BackingColor { get; set; }
Property Value
Declaration
public bool BackingEnabled { get; set; }
Property Value
Declaration
public PropertyMap Content { get; set; }
Property Value
Declaration
public Popup.ContextualModeType ContextualMode { get; set; }
Property Value
Declaration
public Popup.DisplayStateType DisplayState { get; set; }
Property Value
Declaration
public PropertyMap EntryAnimation { get; set; }
Property Value
Declaration
public PropertyMap ExitAnimation { get; set; }
Property Value
Declaration
public PropertyMap Footer { get; set; }
Property Value
Declaration
public Rectangle PopupBackgroundBorder { get; set; }
Property Value
Declaration
public string PopupBackgroundImage { get; set; }
Property Value
Declaration
public string TailDownImage { get; set; }
Property Value
Declaration
public string TailLeftImage { get; set; }
Property Value
Declaration
public Vector3 TailPosition { get; set; }
Property Value
Declaration
public string TailRightImage { get; set; }
Property Value
Declaration
public string TailUpImage { get; set; }
Property Value
Declaration
public bool TailVisibility { get; set; }
Property Value
Declaration
public PropertyMap Title { get; set; }
Property Value
Declaration
public bool TouchTransparent { get; set; }
Property Value
Methods
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Overrides
Declaration
public void SetContent(View content)
Parameters
| Type |
Name |
Description |
| View |
content |
The actor to use.
|
View Source
Sets the display state of popup.
There are 4 total display states.
Only 2 can be set, but all four can be read for better inspection of the current popup state.
The other two states are getable, but not setable, and are there for consistency.
| Value | Setting the state | Getting the state |
|----------|--------------------------------|--------------------------------|
| SHOWN | Show the popup | The popup is fully shown |
| HIDDEN | Hide the popup | The popup is fully hidden |
| SHOWING | | The popup is transitioning in |
| HIDING | | The popup is transitioning out |
All 4 states changes cause notifications via 4 respective signals that can be connected to.
Declaration
public void SetDisplayState(Popup.DisplayStateType displayState)
Parameters
View Source
Sets the actor to use for the footer in this popup.
Declaration
public void SetFooter(View footer)
Parameters
| Type |
Name |
Description |
| View |
footer |
The footer actor to be added to this popup.
|
Declaration
public void SetTitle(View titleView)
Parameters
| Type |
Name |
Description |
| View |
titleView |
The actor to set the title.
|
Events
View Source
An event is sent when the popup has been completely hidden.
Declaration
public event EventHandler<Popup.HiddenEventArgs> Hidden
Event Type
View Source
An event is sent when the popup starts to hide.
Declaration
public event EventHandler<Popup.HidingEventArgs> Hiding
Event Type
View Source
An event is sent when the popup starts showing.
Declaration
public event EventHandler<Popup.ShowingEventArgs> Showing
Event Type
View Source
An event is sent when the popup has been fully displayed.
Declaration
public event EventHandler<Popup.ShownEventArgs> Shown
Event Type
View Source
An event is sent when the user has touched outside the dialog.
Declaration
public event EventHandler<Popup.TouchedOutsideEventArgs> TouchedOutside
Event Type
Implements
System.IDisposable