Class ToastStyle

Definition

Namespace:
Tizen.NUI.Components
Assembly:
Tizen.NUI.Components.dll

ToastStyle is a class which saves Toast's ux data.

C#
Copy
public class ToastStyle : ControlStyle, IDynamicResourceHandler, IDisposable
Inheritance
Implements
IDisposable

Constructors

View Source

ToastStyle()

Creates a new instance of a ToastStyle.

Declaration
C#
Copy
public ToastStyle()
View Source

ToastStyle(ToastStyle)

Creates a new instance of a ToastStyle with Style.

Declaration
C#
Copy
public ToastStyle(ToastStyle style)
Parameters
Type Name Description
ToastStyle style

Create ToastStyle by Style customized by user.

Fields

View Source

DurationProperty

The Duration bindable property.

Declaration
C#
Copy
public static readonly BindableProperty DurationProperty
Field Value
Type Description
BindableProperty

Properties

View Source

Duration

Gets or sets toast show duration time.

Declaration
C#
Copy
public uint? Duration { get; set; }
Property Value
Type Description
Nullable<UInt32>
View Source

Text

Text's Style.

Declaration
C#
Copy
public TextLabelStyle Text { get; set; }
Property Value
Type Description
TextLabelStyle

Methods

View Source

CopyFrom(BindableObject)

Copy properties of other ViewStyle to this.

Declaration
C#
Copy
public override void CopyFrom(BindableObject bindableObject)
Parameters
Type Name Description
BindableObject bindableObject
Overrides

Implements

IDisposable

Extension Methods