Class DialogPage

Definition

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

The DialogPage class is a class which shows a dialog on the page. DialogPage contains dialog and dimmed scrim behind the dialog.

C#
Copy
public class DialogPage : Page, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable, IResourcesProvider
Inheritance
Implements

Constructors

View Source

DialogPage()

Creates a new instance of a DialogPage.

Declaration
C#
Copy
public DialogPage()
API Level: 9
View Source

DialogPage(String)

Creates a new instance of DialogPage with style.

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

Creates DialogPage by special style defined in UX.

View Source

DialogPage(ControlStyle)

Creates a new instance of a DialogPage with style.

Declaration
C#
Copy
public DialogPage(ControlStyle style)
Parameters
Type Name Description
ControlStyle style

A style applied to the newly created DialogPage.

Fields

View Source

ContentProperty

ContentProperty

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

EnableDismissOnScrimProperty

EnableDismissOnScrimProperty

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

EnableScrimProperty

EnableScrimProperty

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

ScrimColorProperty

ScrimColorProperty

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

Properties

View Source

Content

Content of DialogPage. Content is used as dialog, so Content is displayed above the dimmed scrim. Content is added as a child of DialogPage automatically.

Declaration
C#
Copy
public View Content { get; set; }
Property Value
Type Description
View
API Level: 9
View Source

EnableDismissOnScrim

Indicates to dismiss dialog by touching on scrim.

Declaration
C#
Copy
public bool EnableDismissOnScrim { get; set; }
Property Value
Type Description
Boolean
API Level: 9
View Source

EnableScrim

Indicates to show scrim behind dialog.

Declaration
C#
Copy
public bool EnableScrim { get; set; }
Property Value
Type Description
Boolean
API Level: 9
View Source

Scrim

Scrim of DialogPage. Scrim is the dimmed screen region behind dialog. Scrim is added as a child of DialogPage automatically.

Declaration
C#
Copy
protected View Scrim { get; set; }
Property Value
Type Description
View
API Level: 9
View Source

ScrimColor

The color of scrim.

Declaration
C#
Copy
public Color ScrimColor { get; set; }
Property Value
Type Description
Color
API Level: 9

Methods

View Source

Dispose(DisposeTypes)

Dispose DialogPage and all children on it.

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

Dispose type.

Overrides
View Source

ShowAlertDialog(String, String, View[])

Shows an alert dialog by pushing a page containing the alert dialog to default navigator.

Declaration
C#
Copy
public static void ShowAlertDialog(string title, string message, params View[] actions)
Parameters
Type Name Description
String title

The title of AlertDialog.

String message

The message of AlertDialog.

View[] actions

The action views of AlertDialog.

API Level: 9
View Source

ShowDialog(View)

Shows a dialog by pushing a dialog page containing dialog to default navigator.

Declaration
C#
Copy
public static void ShowDialog(View content)
Parameters
Type Name Description
View content

The content of Dialog.

API Level: 9

Implements

Extension Methods