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#Copypublic class DialogPage : Page, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
- Inheritance
-
Tizen.NUI.Binding.ElementTizen.NUI.Components.ControlDialogPage
- Implements
Constructors
Declaration
C#Copypublic DialogPage()
API Level: 9
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#Copypublic View Content { get; set; }
Property Value
Type | Description |
---|---|
View |
API Level: 9
Declaration
C#Copypublic bool EnableDismissOnScrim { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: 9
Declaration
C#Copypublic 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#Copyprotected View Scrim { get; set; }
Property Value
Type | Description |
---|---|
View |
API Level: 9
Declaration
C#Copypublic Color ScrimColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
API Level: 9
Methods
View Source
ShowAlertDialog(String, String, View[])
Shows an alert dialog by pushing a page containing the alert dialog to default navigator.
Declaration
C#Copypublic 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#Copypublic static void ShowDialog(View content)
Parameters
Type | Name | Description |
---|---|---|
View | content | The content of Dialog. |