Class DialogPage
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
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, INotifyPropertyChanged, IDisposable
- Inheritance
-
objectTizen.NUI.Binding.ElementTizen.NUI.Components.ControlDialogPage
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
View SourceDialogPage()
Creates a new instance of a DialogPage.
Declaration
public DialogPage()
Properties
View SourceContent
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
Type | Description |
---|---|
View |
EnableDismissOnScrim
Indicates to dismiss dialog by touching on scrim.
Declaration
public bool EnableDismissOnScrim { get; set; }
Property Value
Type | Description |
---|---|
bool |
EnableScrim
Indicates to show scrim behind dialog.
Declaration
public bool EnableScrim { get; set; }
Property Value
Type | Description |
---|---|
bool |
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
Type | Description |
---|---|
View |
ScrimColor
The color of scrim.
Declaration
public Color ScrimColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Methods
View SourceShowAlertDialog(string, string, params 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. |
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. |