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, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable, IResourcesProvider
Inheritance
Implements

Constructors

View Source

Popup()

Creates a new instance of a Popup.

Declaration
C#
Copy
public Popup()
API Level: 6
View Source

Popup(String)

Creates a new instance of a Popup with style.

Declaration
C#
Copy
public Popup(string style)
Parameters
Type Name Description
String style

Create Popup by special style defined in UX.

View Source

Popup(PopupStyle)

Creates a new instance of a Popup with style.

Declaration
C#
Copy
public Popup(PopupStyle popupStyle)
Parameters
Type Name Description
PopupStyle popupStyle

Create Popup by style customized by user.

Fields

View Source

ButtonBackgroundBorderProperty

Declaration
C#
Copy
public static readonly BindableProperty ButtonBackgroundBorderProperty
Field Value
Type Description
BindableProperty
View Source

ButtonBackgroundProperty

Declaration
C#
Copy
public static readonly BindableProperty ButtonBackgroundProperty
Field Value
Type Description
BindableProperty
View Source

ButtonCountProperty

ButtonCountProperty

Declaration
C#
Copy
public static readonly BindableProperty ButtonCountProperty
Field Value
Type Description
BindableProperty
View Source

ButtonFontFamilyProperty

Declaration
C#
Copy
public static readonly BindableProperty ButtonFontFamilyProperty
Field Value
Type Description
BindableProperty
View Source

ButtonHeightProperty

Declaration
C#
Copy
public static readonly BindableProperty ButtonHeightProperty
Field Value
Type Description
BindableProperty
View Source

ButtonImageShadowProperty

Declaration
C#
Copy
public static readonly BindableProperty ButtonImageShadowProperty
Field Value
Type Description
BindableProperty
View Source

ButtonOverLayBackgroundColorSelectorProperty

Declaration
C#
Copy
public static readonly BindableProperty ButtonOverLayBackgroundColorSelectorProperty
Field Value
Type Description
BindableProperty
View Source

ButtonTextAlignmentProperty

Declaration
C#
Copy
public static readonly BindableProperty ButtonTextAlignmentProperty
Field Value
Type Description
BindableProperty
View Source

ButtonTextColorProperty

Declaration
C#
Copy
public static readonly BindableProperty ButtonTextColorProperty
Field Value
Type Description
BindableProperty
View Source

ButtonTextPointSizeProperty

Declaration
C#
Copy
public static readonly BindableProperty ButtonTextPointSizeProperty
Field Value
Type Description
BindableProperty
View Source

TitleHeightProperty

TitleHeightProperty

Declaration
C#
Copy
public static readonly BindableProperty TitleHeightProperty
Field Value
Type Description
BindableProperty
View Source

TitlePointSizeProperty

TitlePointSizeProperty

Declaration
C#
Copy
public static readonly BindableProperty TitlePointSizeProperty
Field Value
Type Description
BindableProperty
View Source

TitleTextColorProperty

TitleTextColorProperty

Declaration
C#
Copy
public static readonly BindableProperty TitleTextColorProperty
Field Value
Type Description
BindableProperty
View Source

TitleTextHorizontalAlignmentProperty

TitleTextHorizontalAlignmentProperty

Declaration
C#
Copy
public static readonly BindableProperty TitleTextHorizontalAlignmentProperty
Field Value
Type Description
BindableProperty
View Source

TitleTextPositionProperty

TitleTextPositionProperty

Declaration
C#
Copy
public static readonly BindableProperty TitleTextPositionProperty
Field Value
Type Description
BindableProperty
View Source

TitleTextProperty

TitleTextProperty

Declaration
C#
Copy
public static readonly BindableProperty TitleTextProperty
Field Value
Type Description
BindableProperty

Properties

View Source

ButtonBackground

Button background image's resource url in Popup.

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

ButtonBackgroundBorder

Button background image's border in Popup.

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

ButtonCount

Button count in Popup.

Declaration
C#
Copy
public int ButtonCount { get; set; }
Property Value
Type Description
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
String
API Level: 6
View Source

ButtonHeight

Button height in Popup.

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

ButtonImageShadow

Button's image shadow in Popup.

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

ButtonOverLayBackgroundColorSelector

Button overlay background color selector in Popup.

Declaration
C#
Copy
public Selector<Color> ButtonOverLayBackgroundColorSelector { get; set; }
Property Value
Type Description
Selector<Color>
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
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

Title

Popup Title.

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

TitleHeight

Title text's height in Popup.

Declaration
C#
Copy
public int TitleHeight { get; set; }
Property Value
Type Description
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
Single
API Level: 6
View Source

TitleText

Title text string in Popup.

Declaration
C#
Copy
public string TitleText { get; set; }
Property Value
Type Description
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

AccessibilityCalculateStates()

Informs AT-SPI bridge about the set of AT-SPI states associated with this object.

Declaration
C#
Copy
protected override AccessibilityStates AccessibilityCalculateStates()
Returns
Type Description
AccessibilityStates
Overrides
View Source

AddButton(String)

Declaration
C#
Copy
public void AddButton(string buttonText)
Parameters
Type Name Description
String buttonText
View Source

AddButton(String, String)

Add button by style's name.

Declaration
C#
Copy
public void AddButton(string buttonText, string style)
Parameters
Type Name Description
String buttonText
String style
View Source

AddButton(String, ButtonStyle)

Add button by style.

Declaration
C#
Copy
public void AddButton(string buttonText, ButtonStyle style)
Parameters
Type Name Description
String buttonText
ButtonStyle style
View Source

AddContentText(View)

Declaration
C#
Copy
public void AddContentText(View childView)
Parameters
Type Name Description
View childView
View Source

ApplyStyle(ViewStyle)

Apply style to popup.

Declaration
C#
Copy
public override void ApplyStyle(ViewStyle viewStyle)
Parameters
Type Name Description
ViewStyle viewStyle

The style to apply.

Overrides
View Source

CreateViewStyle()

Get Popup style.

Declaration
C#
Copy
protected override ViewStyle CreateViewStyle()
Returns
Type Description
ViewStyle

The default popup style.

Overrides
View Source

Dismiss()

Dismiss the dialog

Declaration
C#
Copy
public virtual void Dismiss()
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
API Level: 6
View Source

GetButton(Int32)

Declaration
C#
Copy
public Button GetButton(int index)
Parameters
Type Name Description
Int32 index
Returns
Type Description
Button
View Source

OnFocusGained()

Focus gained callback.

Declaration
C#
Copy
public override void OnFocusGained()
Overrides
API Level: 6
View Source

OnFocusLost()

Focus lost callback.

Declaration
C#
Copy
public override void OnFocusLost()
Overrides
API Level: 6
View Source

OnInitialize()

Initialize AT-SPI object.

Declaration
C#
Copy
public override void OnInitialize()
Overrides
View Source

OnUpdate()

Update by style.

Declaration
C#
Copy
protected override void OnUpdate()
Overrides
View Source

Post(Window)

Declaration
C#
Copy
public virtual void Post(Window targetWindow)
Parameters
Type Name Description
Window targetWindow
View Source

RemoveButton(Int32)

Declaration
C#
Copy
public void RemoveButton(int index)
Parameters
Type Name Description
Int32 index
View Source

SetButtonText(Int32, String)

Set button text by index.

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

Button index.

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

Implements

Extension Methods