Class Popup
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
Popup is one kind of common component, it can be used as popup window. User can handle Popup button count, head title and content area.
[Obsolete("Deprecated in API8; Will be removed in API10")]
public class Popup : Control, INotifyPropertyChanged, IDisposable
- Inheritance
-
objectTizen.NUI.Binding.ElementTizen.NUI.Components.ControlPopup
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
View SourcePopup()
Creates a new instance of a Popup.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public Popup()
Properties
View SourceButtonCount
Button count in Popup.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public int ButtonCount { get; set; }
Property Value
Type | Description |
---|---|
int |
ButtonFontFamily
Button text font family in Popup.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public string ButtonFontFamily { get; set; }
Property Value
Type | Description |
---|---|
string |
ButtonHeight
Button height in Popup.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public int ButtonHeight { get; set; }
Property Value
Type | Description |
---|---|
int |
ButtonTextAlignment
Button text horizontal alignment in Popup.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public HorizontalAlignment ButtonTextAlignment { get; set; }
Property Value
Type | Description |
---|---|
HorizontalAlignment |
ButtonTextColor
Button text color in Popup.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public Color ButtonTextColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
ButtonTextPointSize
Button text point size in Popup.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public float ButtonTextPointSize { get; set; }
Property Value
Type | Description |
---|---|
float |
ContentView
Content view in Popup, only can be gotten.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public View ContentView { get; }
Property Value
Type | Description |
---|---|
View |
TitleHeight
Title text's height in Popup.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public int TitleHeight { get; set; }
Property Value
Type | Description |
---|---|
int |
TitlePointSize
Title text point size in Popup.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public float TitlePointSize { get; set; }
Property Value
Type | Description |
---|---|
float |
TitleText
Title text string in Popup.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public string TitleText { get; set; }
Property Value
Type | Description |
---|---|
string |
TitleTextColor
Title text color in Popup.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public Color TitleTextColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
TitleTextHorizontalAlignment
Title text horizontal alignment in Popup.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public HorizontalAlignment TitleTextHorizontalAlignment { get; set; }
Property Value
Type | Description |
---|---|
HorizontalAlignment |
TitleTextPosition
Title text's position in Popup.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public Position TitleTextPosition { get; set; }
Property Value
Type | Description |
---|---|
Position |
Methods
View SourceDispose(DisposeTypes)
Dispose Popup and all children on it.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
protected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type | Dispose type. |
Overrides
SetButtonText(int, string)
Set button text by index.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public void SetButtonText(int index, string text)
Parameters
Type | Name | Description |
---|---|---|
int | index | Button index. |
string | text | Button text string. |
Events
View SourcePopupButtonClickEvent
An event for the button clicked signal which can be used to subscribe or unsubscribe the event handler provided by the user.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public event EventHandler<Popup.ButtonClickEventArgs> PopupButtonClickEvent
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><Popup.ButtonClickEventArgs> |