Class Popup

Definition

Namespace:
Tizen.NUI.Components
Assembly:
Tizen.NUI.Components.dll
API Level:
6

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, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
Inheritance
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()
API Level: 6

Properties

View Source

ButtonCount

Button count in Popup.

Declaration
C#
Copy
public int ButtonCount { get; set; }
Property Value
Type Description
System.Int32
API Level: 6
View Source

ButtonFontFamily

Button text font family in Popup.

Declaration
C#
Copy
public string ButtonFontFamily { get; set; }
Property Value
Type Description
System.String
API Level: 6
View Source

ButtonHeight

Button height in Popup.

Declaration
C#
Copy
public int ButtonHeight { get; set; }
Property Value
Type Description
System.Int32
API Level: 6
View Source

ButtonTextAlignment

Button text horizontal alignment in Popup.

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

ButtonTextColor

Button text color in Popup.

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

ButtonTextPointSize

Button text point size in Popup.

Declaration
C#
Copy
public float ButtonTextPointSize { get; set; }
Property Value
Type Description
System.Single
API Level: 6
View Source

ContentView

Content view in Popup, only can be gotten.

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

TitleHeight

Title text's height in Popup.

Declaration
C#
Copy
public int TitleHeight { get; set; }
Property Value
Type Description
System.Int32
API Level: 6
View Source

TitlePointSize

Title text point size in Popup.

Declaration
C#
Copy
public float TitlePointSize { get; set; }
Property Value
Type Description
System.Single
API Level: 6
View Source

TitleText

Title text string in Popup.

Declaration
C#
Copy
public string TitleText { get; set; }
Property Value
Type Description
System.String
API Level: 6
View Source

TitleTextColor

Title text color in Popup.

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

TitleTextHorizontalAlignment

Title text horizontal alignment in Popup.

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

TitleTextPosition

Title text's position in Popup.

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

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)
API Level: 6
View Source

SetButtonText(Int32, String)

Set button text by index.

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

Button index.

System.String text

Button text string.

API Level: 6

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<Popup.ButtonClickEventArgs>
API Level: 6

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable