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.

C#
Copy
public class Popup : Control, INotifyPropertyChanged, IDisposable
Inheritance
object
Tizen.NUI.Binding.BindableObject
Tizen.NUI.Binding.Element
Tizen.NUI.Components.Control
Popup
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable

Constructors

View Source

Popup()

Creates a new instance of a Popup.

Declaration
C#
Copy
public Popup()

Properties

View Source

ButtonCount

Button count in Popup.

Declaration
C#
Copy
public int ButtonCount { get; set; }
Property Value
Type Description
int
View Source

ButtonFontFamily

Button text font family in Popup.

Declaration
C#
Copy
public string ButtonFontFamily { get; set; }
Property Value
Type Description
string
View Source

ButtonHeight

Button height in Popup.

Declaration
C#
Copy
public int ButtonHeight { get; set; }
Property Value
Type Description
int
View Source

ButtonTextAlignment

Button text horizontal alignment in Popup.

Declaration
C#
Copy
public HorizontalAlignment ButtonTextAlignment { get; set; }
Property Value
Type Description
HorizontalAlignment
View Source

ButtonTextColor

Button text color in Popup.

Declaration
C#
Copy
public Color ButtonTextColor { get; set; }
Property Value
Type Description
Color
View Source

ButtonTextPointSize

Button text point size in Popup.

Declaration
C#
Copy
public float ButtonTextPointSize { get; set; }
Property Value
Type Description
float
View Source

ContentView

Content view in Popup, only can be gotten.

Declaration
C#
Copy
public View ContentView { get; }
Property Value
Type Description
View
View Source

TitleHeight

Title text's height in Popup.

Declaration
C#
Copy
public int TitleHeight { get; set; }
Property Value
Type Description
int
View Source

TitlePointSize

Title text point size in Popup.

Declaration
C#
Copy
public float TitlePointSize { get; set; }
Property Value
Type Description
float
View Source

TitleText

Title text string in Popup.

Declaration
C#
Copy
public string TitleText { get; set; }
Property Value
Type Description
string
View Source

TitleTextColor

Title text color in Popup.

Declaration
C#
Copy
public Color TitleTextColor { get; set; }
Property Value
Type Description
Color
View Source

TitleTextHorizontalAlignment

Title text horizontal alignment in Popup.

Declaration
C#
Copy
public HorizontalAlignment TitleTextHorizontalAlignment { get; set; }
Property Value
Type Description
HorizontalAlignment
View Source

TitleTextPosition

Title text's position in Popup.

Declaration
C#
Copy
public Position TitleTextPosition { get; set; }
Property Value
Type Description
Position

Methods

View Source

Dispose(DisposeTypes)

Dispose Popup and all children on it.

Declaration
C#
Copy
protected override void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type

Dispose type.

Overrides
Tizen.NUI.Components.Control.Dispose(Tizen.NUI.DisposeTypes)
View Source

SetButtonText(int, string)

Set button text by index.

Declaration
C#
Copy
public void SetButtonText(int index, string text)
Parameters
Type Name Description
int index

Button index.

string text

Button text string.

Events

View Source

PopupButtonClickEvent

An event for the button clicked signal which can be used to subscribe or unsubscribe the event handler provided by the user.

Declaration
C#
Copy
public event EventHandler<Popup.ButtonClickEventArgs> PopupButtonClickEvent
Event Type
Type Description
System.EventHandler<TEventArgs><Popup.ButtonClickEventArgs>

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable