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
-
objectTizen.NUI.Binding.BindableObjectTizen.NUI.Binding.ElementTizen.NUI.Components.ControlToast
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
View SourceToast()
Construct Toast with null.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public Toast()
Fields
View SourcetextLabels
text labels
Declaration
protected TextLabel[] textLabels
Field Value
| Type | Description |
|---|---|
| TextLabel[] |
Properties
View SourceDuration
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 |
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 |
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 |
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 |
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[] |
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 |
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 |
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 |
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 SourceDispose(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