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.

    public class Toast : Control, INotifyPropertyChanged, IDisposable
    Inheritance
    object
    Tizen.NUI.Binding.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
    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
    public uint Duration { get; set; }
    Property Value
    Type Description
    uint
    View Source

    FontFamily

    Gets or sets text font family in toast.

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

    PointSize

    Gets or sets text point size in toast.

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

    TextAlignment

    Gets or sets text horizontal alignment in toast.

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

    TextArray

    Gets or sets the text array of toast.

    Declaration
    public string[] TextArray { get; set; }
    Property Value
    Type Description
    string[]
    View Source

    TextColor

    Gets or sets text color in toast.

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

    TextLineHeight

    Gets or sets text line height in toast.

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

    TextLineSpace

    Gets or sets text line space in toast.

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

    TextPadding

    Gets or sets text padding in toast.

    Declaration
    public Extents TextPadding { get; set; }
    Property Value
    Type Description
    Extents

    Methods

    View Source

    Dispose(DisposeTypes)

    Dispose ToastPopup.

    Declaration
    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