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.
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
API Level: 9
View Source
DialogPage(String)
Creates a new instance of DialogPage with style.
Declaration
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
public DialogPage(ControlStyle style)
Parameters
Type |
Name |
Description |
ControlStyle |
style |
A style applied to the newly created DialogPage.
|
Fields
Declaration
public static readonly BindableProperty ContentProperty
Field Value
View Source
EnableDismissOnScrimProperty
EnableDismissOnScrimProperty
Declaration
public static readonly BindableProperty EnableDismissOnScrimProperty
Field Value
Declaration
public static readonly BindableProperty EnableScrimProperty
Field Value
Declaration
public static readonly BindableProperty ScrimColorProperty
Field Value
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
public View Content { get; set; }
Property Value
API Level: 9
View Source
EnableDismissOnScrim
Indicates to dismiss dialog by touching on scrim.
Declaration
public bool EnableDismissOnScrim { get; set; }
Property Value
API Level: 9
View Source
EnableScrim
Indicates to show scrim behind dialog.
Declaration
public bool EnableScrim { get; set; }
Property Value
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
protected View Scrim { get; set; }
Property Value
API Level: 9
Declaration
public Color ScrimColor { get; set; }
Property Value
API Level: 9
Methods
View Source
Dispose(DisposeTypes)
Dispose DialogPage and all children on it.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Overrides
View Source
ShowAlertDialog(String, String, View[])
Shows an alert dialog by pushing a page containing the alert dialog
to default navigator.
Declaration
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
public static void ShowDialog(View content)
Parameters
Type |
Name |
Description |
View |
content |
The content of Dialog.
|
API Level: 9
Implements
Extension Methods