Class Toast
Deprecated in API8; Will be removed in API10
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.
[Obsolete("Deprecated in API8; Will be removed in API10")]
public class Toast : Control, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
- Inheritance
-
Tizen.NUI.Binding.BindableObjectTizen.NUI.Binding.ElementTizen.NUI.Components.ControlToast
- Implements
Constructors
View SourceToast()
Deprecated in API8; Will be removed in API10
Construct Toast with null.
Declaration
[Obsolete("Deprecated in API8; Will be removed in API10")]
public Toast()
API Level: 6
Fields
View SourcetextLabels
Deprecated in API8; Will be removed in API10
text labels
Declaration
protected TextLabel[] textLabels
Field Value
Type | Description |
---|---|
TextLabel[] |
Properties
View SourceDuration
Deprecated in API8; Will be removed in API10
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 |
---|---|
UInt32 |
API Level: 6
View SourceFontFamily
Deprecated in API8; Will be removed in API10
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 |
API Level: 6
View SourcePointSize
Deprecated in API8; Will be removed in API10
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 |
---|---|
Single |
API Level: 6
View SourceTextAlignment
Deprecated in API8; Will be removed in API10
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 |
API Level: 6
View SourceTextArray
Deprecated in API8; Will be removed in API10
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[] |
API Level: 6
View SourceTextColor
Deprecated in API8; Will be removed in API10
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 |
API Level: 6
View SourceTextLineHeight
Deprecated in API8; Will be removed in API10
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 |
---|---|
UInt32 |
API Level: 6
View SourceTextLineSpace
Deprecated in API8; Will be removed in API10
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 |
---|---|
UInt32 |
API Level: 6
View SourceTextPadding
Deprecated in API8; Will be removed in API10
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 |
API Level: 6
Methods
View SourceDispose(DisposeTypes)
Deprecated in API8; Will be removed in API10
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)