Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
- API Level:
- 6
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, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
- Inheritance
-
System.Object
Tizen.NUI.Binding.BindableObject
Tizen.NUI.Binding.Element
Tizen.NUI.Components.Control
Toast
- Implements
-
System.ComponentModel.INotifyPropertyChanged
System.IDisposable
Constructors
Declaration
API Level: 6
Fields
Declaration
protected TextLabel[] textLabels
Field Value
Properties
Declaration
public uint Duration { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
API Level: 6
View Source
FontFamily
Gets or sets text font family in toast.
Declaration
public string FontFamily { get; set; }
Property Value
Type |
Description |
System.String |
|
API Level: 6
View Source
PointSize
Gets or sets text point size in toast.
Declaration
public float PointSize { get; set; }
Property Value
API Level: 6
View Source
TextAlignment
Gets or sets text horizontal alignment in toast.
Declaration
public HorizontalAlignment TextAlignment { get; set; }
Property Value
API Level: 6
View Source
TextArray
Gets or sets the text array of toast.
Declaration
public string[] TextArray { get; set; }
Property Value
Type |
Description |
System.String[] |
|
API Level: 6
View Source
TextColor
Gets or sets text color in toast.
Declaration
public Color TextColor { get; set; }
Property Value
API Level: 6
View Source
TextLineHeight
Gets or sets text line height in toast.
Declaration
public uint TextLineHeight { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
API Level: 6
View Source
TextLineSpace
Gets or sets text line space in toast.
Declaration
public uint TextLineSpace { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
API Level: 6
View Source
TextPadding
Gets or sets text padding in toast.
Declaration
public Extents TextPadding { get; set; }
Property Value
API Level: 6
Methods
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Overrides
Tizen.NUI.Components.Control.Dispose(Tizen.NUI.DisposeTypes)
API Level: 6
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable