Class ToastStyle
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
ToastStyle is a class which saves Toast's ux data.
public class ToastStyle : ControlStyle, IDynamicResourceHandler, IDisposable
- Inheritance
- Implements
-
IDisposable
Constructors
View SourceToastStyle()
Creates a new instance of a ToastStyle.
Declaration
public ToastStyle()
ToastStyle(ToastStyle)
Creates a new instance of a ToastStyle with Style.
Declaration
public ToastStyle(ToastStyle style)
Parameters
Type | Name | Description |
---|---|---|
ToastStyle | style | Create ToastStyle by Style customized by user. |
Fields
View SourceDurationProperty
The Duration bindable property.
Declaration
public static readonly BindableProperty DurationProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Properties
View SourceDuration
Gets or sets toast show duration time.
Declaration
public uint? Duration { get; set; }
Property Value
Type | Description |
---|---|
uint? |
Text
Text's Style.
Declaration
public TextLabelStyle Text { get; set; }
Property Value
Type | Description |
---|---|
TextLabelStyle |
Methods
View SourceCopyFrom(BindableObject)
Declaration
public override void CopyFrom(BindableObject bindableObject)
Parameters
Type | Name | Description |
---|---|---|
BindableObject | bindableObject |
Overrides
Implements
IDisposable