Class Toast

    Definition

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

    Use a toast to provide simple messages when the user does not need to make an additional action or confirmation. Unlike other popups, a toast only has the body field as it is just used for providing simple feedback to user actions. A toast will automatically disappear after a certain time.

    [Obsolete("Deprecated in API8; Will be removed in API10")]
    public class Toast : Control, INotifyPropertyChanged, IDisposable
    Inheritance
    object
    BindableObject
    Tizen.NUI.Binding.Element
    BaseHandle
    Animatable
    Container
    View
    ViewWrapper
    CustomView
    VisualView
    Tizen.NUI.Components.Control
    Toast
    Implements
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable

    Constructors

    View Source

    Toast()

    Construct Toast with null.

    Declaration
    [Obsolete("Deprecated in API8; Will be removed in API10")]
    public Toast()

    Fields

    View Source

    textLabels

    text labels

    Declaration
    protected TextLabel[] textLabels
    Field Value
    Type Description
    TextLabel[]

    Properties

    View Source

    Duration

    Gets or sets duration of toast.

    Declaration
    [Obsolete("Deprecated in API8; Will be removed in API10")]
    public uint Duration { get; set; }
    Property Value
    Type Description
    uint
    View Source

    FontFamily

    Gets or sets text font family in toast.

    Declaration
    [Obsolete("Deprecated in API8; Will be removed in API10")]
    public string FontFamily { get; set; }
    Property Value
    Type Description
    string
    View Source

    PointSize

    Gets or sets text point size in toast.

    Declaration
    [Obsolete("Deprecated in API8; Will be removed in API10")]
    public float PointSize { get; set; }
    Property Value
    Type Description
    float
    View Source

    TextAlignment

    Gets or sets text horizontal alignment in toast.

    Declaration
    [Obsolete("Deprecated in API8; Will be removed in API10")]
    public HorizontalAlignment TextAlignment { get; set; }
    Property Value
    Type Description
    HorizontalAlignment
    View Source

    TextArray

    Gets or sets the text array of toast.

    Declaration
    [Obsolete("Deprecated in API8; Will be removed in API10")]
    public string[] TextArray { get; set; }
    Property Value
    Type Description
    string[]
    View Source

    TextColor

    Gets or sets text color in toast.

    Declaration
    [Obsolete("Deprecated in API8; Will be removed in API10")]
    public Color TextColor { get; set; }
    Property Value
    Type Description
    Color
    View Source

    TextLineHeight

    Gets or sets text line height in toast.

    Declaration
    [Obsolete("Deprecated in API8; Will be removed in API10")]
    public uint TextLineHeight { get; set; }
    Property Value
    Type Description
    uint
    View Source

    TextLineSpace

    Gets or sets text line space in toast.

    Declaration
    [Obsolete("Deprecated in API8; Will be removed in API10")]
    public uint TextLineSpace { get; set; }
    Property Value
    Type Description
    uint
    View Source

    TextPadding

    Gets or sets text padding in toast.

    Declaration
    [Obsolete("Deprecated in API8; Will be removed in API10")]
    public Extents TextPadding { get; set; }
    Property Value
    Type Description
    Extents

    Methods

    View Source

    Dispose(DisposeTypes)

    Dispose ToastPopup.

    Declaration
    [Obsolete("Deprecated in API8; Will be removed in API10")]
    protected override void Dispose(DisposeTypes type)
    Parameters
    Type Name Description
    DisposeTypes type

    dispose types.

    Overrides
    Tizen.NUI.Components.Control.Dispose(Tizen.NUI.DisposeTypes)

    Implements

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