Definition
- Namespace:
- Tizen.NUI.UIComponents
- Assembly:
- Tizen.NUI.dll
- API Level:
- 3
The Popup widget provides a configurable popup dialog with a built-in layout of three main fields.
public class Popup : View, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
- Inheritance
-
Tizen.NUI.Binding.BindableObject
Tizen.NUI.Binding.Element
Popup
- Implements
-
System.IDisposable
Constructors
Declaration
API Level: 3
Properties
Declaration
public float AnimationDuration { get; set; }
Property Value
API Level: 3
Declaration
public Popup.AnimationModeType AnimationMode { get; set; }
Property Value
API Level: 3
Declaration
public int AutoHideDelay { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
API Level: 3
Declaration
public Vector4 BackingColor { get; set; }
Property Value
API Level: 3
Declaration
public bool BackingEnabled { get; set; }
Property Value
API Level: 3
Declaration
public PropertyMap Content { get; set; }
Property Value
API Level: 3
Declaration
public Popup.ContextualModeType ContextualMode { get; set; }
Property Value
API Level: 3
Declaration
public Popup.DisplayStateType DisplayState { get; set; }
Property Value
API Level: 3
Declaration
public PropertyMap EntryAnimation { get; set; }
Property Value
API Level: 3
Declaration
public PropertyMap ExitAnimation { get; set; }
Property Value
API Level: 3
Declaration
public PropertyMap Footer { get; set; }
Property Value
API Level: 3
Declaration
public Rectangle PopupBackgroundBorder { get; set; }
Property Value
API Level: 3
Declaration
public string PopupBackgroundImage { get; set; }
Property Value
Type |
Description |
System.String |
|
API Level: 3
Declaration
public string TailDownImage { get; set; }
Property Value
Type |
Description |
System.String |
|
API Level: 3
Declaration
public string TailLeftImage { get; set; }
Property Value
Type |
Description |
System.String |
|
API Level: 3
Declaration
public Vector3 TailPosition { get; set; }
Property Value
API Level: 3
Declaration
public string TailRightImage { get; set; }
Property Value
Type |
Description |
System.String |
|
API Level: 3
Declaration
public string TailUpImage { get; set; }
Property Value
Type |
Description |
System.String |
|
API Level: 3
Declaration
public bool TailVisibility { get; set; }
Property Value
API Level: 3
Declaration
public PropertyMap Title { get; set; }
Property Value
API Level: 3
Declaration
public bool TouchTransparent { get; set; }
Property Value
API Level: 3
Methods
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Overrides
API Level: 3
Declaration
public void SetContent(View content)
Parameters
Type |
Name |
Description |
View |
content |
The actor to use.
|
API Level: 3
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
API Level: 3
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.
|
API Level: 3
Declaration
public void SetTitle(View titleView)
Parameters
Type |
Name |
Description |
View |
titleView |
The actor to set the title.
|
API Level: 3
Events
View Source
An event is sent when the popup has been completely hidden.
Declaration
public event EventHandler<Popup.HiddenEventArgs> Hidden
Event Type
API Level: 3
View Source
An event is sent when the popup starts to hide.
Declaration
public event EventHandler<Popup.HidingEventArgs> Hiding
Event Type
API Level: 3
View Source
An event is sent when the popup starts showing.
Declaration
public event EventHandler<Popup.ShowingEventArgs> Showing
Event Type
API Level: 3
View Source
An event is sent when the popup has been fully displayed.
Declaration
public event EventHandler<Popup.ShownEventArgs> Shown
Event Type
API Level: 3
View Source
An event is sent when the user has touched outside the dialog.
Declaration
public event EventHandler<Popup.TouchedOutsideEventArgs> TouchedOutside
Event Type
API Level: 3
Implements
System.IDisposable