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, IDynamicResourceHandler, INameScope, System.IDisposable, IResourcesProvider
    Inheritance
    object
    BindableObject
    Element
    BaseHandle
    Animatable
    Container
    View
    ViewWrapper
    CustomView
    VisualView
    Control
    Page
    DialogPage
    Implements
    IDynamicResourceHandler
    INameScope
    System.IDisposable
    IResourcesProvider

    Constructors

    View Source

    DialogPage()

    Creates a new instance of a DialogPage.

    Declaration
    public DialogPage()
    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

    View Source

    ContentProperty

    ContentProperty

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

    EnableDismissOnScrimProperty

    EnableDismissOnScrimProperty

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

    EnableScrimProperty

    EnableScrimProperty

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

    ScrimColorProperty

    ScrimColorProperty

    Declaration
    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
    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

    Dispose(DisposeTypes)

    Dispose DialogPage and all children on it.

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

    Dispose type.

    Overrides
    Control.Dispose(DisposeTypes)
    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

    IDynamicResourceHandler
    INameScope
    System.IDisposable
    IResourcesProvider

    Extension Methods

    ViewExtensions.BackgroundColor(View)
    ViewExtensions.BorderlineColor(View)
    ViewExtensions.BoxShadow(View)
    ViewExtensions.Color(View)
    ViewExtensions.CornerRadius(View)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    ViewExtensions.BackgroundColor<T>(T, float, float, float, float)
    ViewExtensions.BackgroundColor<T>(T, uint, float)
    ViewExtensions.BackgroundColor<T>(T, UIColor)
    ViewExtensions.BackgroundImage<T>(T, string)
    ViewExtensions.Borderline<T>(T, float, UIColor, float)
    ViewExtensions.BorderlineColor<T>(T, float, float, float, float)
    ViewExtensions.BorderlineColor<T>(T, uint, float)
    ViewExtensions.BorderlineColor<T>(T, UIColor)
    ViewExtensions.BorderlineOffset<T>(T, float)
    ViewExtensions.BorderlineWidth<T>(T, float)
    ViewExtensions.BoxShadow<T>(T, float, float, float)
    ViewExtensions.BoxShadow<T>(T, float, UIColor, float, float)
    ViewExtensions.BoxShadow<T>(T, UIShadow)
    ViewExtensions.ClippingMode<T>(T, ClippingModeType)
    ViewExtensions.Color<T>(T, float, float, float, float)
    ViewExtensions.Color<T>(T, uint, float)
    ViewExtensions.Color<T>(T, UIColor)
    ViewExtensions.CornerRadius<T>(T, float, bool)
    ViewExtensions.CornerRadius<T>(T, float, float, float, float, bool)
    ViewExtensions.CornerRadius<T>(T, UICorner)
    ViewExtensions.Focusable<T>(T, bool)
    ViewExtensions.FocusableChildren<T>(T, bool)
    ViewExtensions.FocusableInTouch<T>(T, bool)
    ViewExtensions.ImageShadow<T>(T, ImageShadow)
    ViewExtensions.IsEnabled<T>(T, bool)
    ViewExtensions.Layout<T>(T, LayoutItem)
    ViewExtensions.Opacity<T>(T, float)
    ViewExtensions.Position<T>(T, float, float)
    ViewExtensions.PositionX<T>(T, float)
    ViewExtensions.PositionY<T>(T, float)
    ViewExtensions.Scale<T>(T, float, float)
    ViewExtensions.ScaleX<T>(T, float)
    ViewExtensions.ScaleY<T>(T, float)
    ViewExtensions.Sensitive<T>(T, bool)
    ViewExtensions.Size<T>(T, float, float)
    ViewExtensions.SizeHeight<T>(T, float)
    ViewExtensions.SizeWidth<T>(T, float)
    ViewExtensions.Visibility<T>(T, bool)
    ViewExtensions.VoiceInteractionName<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX