Class AlertDialog

    Definition

    Namespace:
    Tizen.NUI.Components
    Assembly:
    Tizen.NUI.Components.dll

    AlertDialog class shows a dialog with title, message and action buttons.

    public class AlertDialog : Control, IDynamicResourceHandler, INameScope, System.IDisposable, IResourcesProvider
    Inheritance
    object
    BindableObject
    Element
    BaseHandle
    Animatable
    Container
    View
    ViewWrapper
    CustomView
    VisualView
    Control
    AlertDialog
    Implements
    IDynamicResourceHandler
    INameScope
    System.IDisposable
    IResourcesProvider

    Constructors

    View Source

    AlertDialog()

    Creates a new instance of AlertDialog.

    Declaration
    public AlertDialog()
    View Source

    AlertDialog(string)

    Creates a new instance of AlertDialog.

    Declaration
    public AlertDialog(string style)
    Parameters
    Type Name Description
    string style

    Creates AlertDialog by special style defined in UX.

    View Source

    AlertDialog(AlertDialogStyle)

    Creates a new instance of AlertDialog.

    Declaration
    public AlertDialog(AlertDialogStyle alertDialogStyle)
    Parameters
    Type Name Description
    AlertDialogStyle alertDialogStyle

    Creates AlertDialog by style customized by user.

    Fields

    View Source

    ActionContentProperty

    ActionContentProperty

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

    ActionsProperty

    ActionsProperty

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

    ContentProperty

    ContentProperty

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

    MessageProperty

    MessageProperty

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

    TitleContentProperty

    TitleContentProperty

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

    TitleProperty

    TitleProperty

    Declaration
    public static readonly BindableProperty TitleProperty
    Field Value
    Type Description
    BindableProperty

    Properties

    View Source

    ActionContent

    Action content of AlertDialog. ActionContent is added as a child of AlertDialog automatically. Actions are added as children of ActionContent.

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

    Actions

    Action views of AlertDialog. Action views are added as children of ActionContent. When Actions are set, previous Actions are removed from ActionContent.

    Declaration
    public IEnumerable<View> Actions { get; set; }
    Property Value
    Type Description
    IEnumerable<><View>
    View Source

    Content

    Content of AlertDialog. Content is added as a child of AlertDialog automatically. Message text is set to Content's Text if Content is TextLabel. If Content's Text is set manually by user, then it is not guaranteed that Content's Text is the same with Message text.

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

    DefaultActionContent

    Default action content of AlertDialog. If Actions are set, then default action content is automatically displayed.

    Declaration
    protected View DefaultActionContent { get; }
    Property Value
    Type Description
    View
    View Source

    DefaultContent

    Default content of AlertDialog. If Message is set, then default content is automatically displayed.

    Declaration
    protected View DefaultContent { get; }
    Property Value
    Type Description
    View
    View Source

    DefaultTitleContent

    Default title content of AlertDialog. If Title is set, then default title content is automatically displayed.

    Declaration
    protected View DefaultTitleContent { get; }
    Property Value
    Type Description
    View
    View Source

    Message

    Message text of AlertDialog. Message text is set to Content's Text if Content is TextLabel. If Content's Text is set manually by user, then it is not guaranteed that Content's Text is the same with Message text.

    Declaration
    public string Message { get; set; }
    Property Value
    Type Description
    string
    View Source

    Title

    Title text of AlertDialog. Title text is set to TitleContent's Text if TitleContent is TextLabel. If TitleContent's Text is set manually by user, then it is not guaranteed that TitleContent's Text is the same with Title text.

    Declaration
    public string Title { get; set; }
    Property Value
    Type Description
    string
    View Source

    TitleContent

    Title content of AlertDialog. TitleContent is added as a child of AlertDialog automatically. Title text is set to TitleContent's Text if TitleContent is TextLabel. If TitleContent's Text is set manually by user, then it is not guaranteed that TitleContent's Text is the same with Title text.

    Declaration
    public View TitleContent { get; set; }
    Property Value
    Type Description
    View

    Methods

    View Source

    AccessibilityCalculateStates()

    Informs AT-SPI bridge about the set of AT-SPI states associated with this object.

    Declaration
    protected override AccessibilityStates AccessibilityCalculateStates()
    Returns
    Type Description
    AccessibilityStates
    Overrides
    View.AccessibilityCalculateStates()
    View Source

    AccessibilityGetDescription()

    Gets accessibility description.

    Declaration
    protected override string AccessibilityGetDescription()
    Returns
    Type Description
    string
    Overrides
    View.AccessibilityGetDescription()
    View Source

    AccessibilityGetName()

    Gets accessibility name.

    Declaration
    protected override string AccessibilityGetName()
    Returns
    Type Description
    string
    Overrides
    View.AccessibilityGetName()
    View Source

    ApplyStyle(ViewStyle)

    Applies style to AlertDialog.

    Declaration
    public override void ApplyStyle(ViewStyle viewStyle)
    Parameters
    Type Name Description
    ViewStyle viewStyle

    The style to apply.

    Overrides
    View.ApplyStyle(ViewStyle)
    View Source

    Dispose(DisposeTypes)

    Dispose Control 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

    OnInitialize()

    Initialize AT-SPI object.

    Declaration
    public override void OnInitialize()
    Overrides
    Control.OnInitialize()

    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