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
    object
    BindableObject
    Tizen.NUI.Binding.Element
    BaseHandle
    Animatable
    Container
    View
    ViewWrapper
    CustomView
    VisualView
    Tizen.NUI.Components.Control
    Page
    DialogPage
    Implements
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable

    Constructors

    View Source

    DialogPage()

    Creates a new instance of a DialogPage.

    Declaration
    public DialogPage()

    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
    Type Description
    View
    View Source

    EnableDismissOnScrim

    Indicates to dismiss dialog by touching on scrim.

    Declaration
    public bool EnableDismissOnScrim { get; set; }
    Property Value
    Type Description
    bool
    View Source

    EnableScrim

    Indicates to show scrim behind dialog.

    Declaration
    public bool EnableScrim { get; set; }
    Property Value
    Type Description
    bool
    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
    Type Description
    View
    View Source

    ScrimColor

    The color of scrim.

    Declaration
    public Color ScrimColor { get; set; }
    Property Value
    Type Description
    Color

    Methods

    View Source

    ShowAlertDialog(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.

    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.

    Implements

    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX