Class Toast

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.

C#
Copy
[Obsolete("Deprecated in API8; Will be removed in API10")] public class Toast : Control, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
Inheritance
Tizen.NUI.Binding.Element
Tizen.NUI.Components.Control
Toast
Implements

Constructors

View Source

Toast()

Construct Toast with null.

Declaration
C#
Copy
[Obsolete("Deprecated in API8; Will be removed in API10")] public Toast()
API Level: 6

Fields

View Source

textLabels

text labels

Declaration
C#
Copy
protected TextLabel[] textLabels
Field Value
Type Description
TextLabel[]

Properties

View Source

Duration

Gets or sets duration of toast.

Declaration
C#
Copy
[Obsolete("Deprecated in API8; Will be removed in API10")] public uint Duration { get; set; }
Property Value
Type Description
UInt32
API Level: 6
View Source

FontFamily

Gets or sets text font family in toast.

Declaration
C#
Copy
[Obsolete("Deprecated in API8; Will be removed in API10")] public string FontFamily { get; set; }
Property Value
Type Description
String
API Level: 6
View Source

PointSize

Gets or sets text point size in toast.

Declaration
C#
Copy
[Obsolete("Deprecated in API8; Will be removed in API10")] public float PointSize { get; set; }
Property Value
Type Description
Single
API Level: 6
View Source

TextAlignment

Gets or sets text horizontal alignment in toast.

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

TextArray

Gets or sets the text array of toast.

Declaration
C#
Copy
[Obsolete("Deprecated in API8; Will be removed in API10")] public string[] TextArray { get; set; }
Property Value
Type Description
String[]
API Level: 6
View Source

TextColor

Gets or sets text color in toast.

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

TextLineHeight

Gets or sets text line height in toast.

Declaration
C#
Copy
[Obsolete("Deprecated in API8; Will be removed in API10")] public uint TextLineHeight { get; set; }
Property Value
Type Description
UInt32
API Level: 6
View Source

TextLineSpace

Gets or sets text line space in toast.

Declaration
C#
Copy
[Obsolete("Deprecated in API8; Will be removed in API10")] public uint TextLineSpace { get; set; }
Property Value
Type Description
UInt32
API Level: 6
View Source

TextPadding

Gets or sets text padding in toast.

Declaration
C#
Copy
[Obsolete("Deprecated in API8; Will be removed in API10")] public Extents TextPadding { get; set; }
Property Value
Type Description
Extents
API Level: 6

Methods

View Source

Dispose(DisposeTypes)

Dispose ToastPopup.

Declaration
C#
Copy
[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)
API Level: 6

Implements