Class Loading

Definition

Namespace:
Tizen.NUI.Components
Assembly:
Tizen.NUI.Components.dll
API Level:
6

The Loading class of nui component. It's used to indicate informs users of the ongoing operation.

C#
Copy
public class Loading : Control, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
Inheritance
System.Object
Tizen.NUI.Binding.Element
Tizen.NUI.Components.Control
Loading
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable
Remarks

The Loading is created as LottieAnimationView first. When the user sets ImageArray separately, the image is changed to ImageVisual.

Constructors

View Source

Loading()

The constructor of Loading.

Declaration
C#
Copy
public Loading()
API Level: 6
View Source

Loading(String)

Constructor of the Loading class with special style.

Declaration
C#
Copy
public Loading(string style)
Parameters
Type Name Description
System.String style

The string to initialize the Loading.

API Level: 8
View Source

Loading(LoadingStyle)

The constructor of the Loading class with specific style.

Declaration
C#
Copy
public Loading(LoadingStyle loadingStyle)
Parameters
Type Name Description
LoadingStyle loadingStyle

The style object to initialize the Loading.

API Level: 8

Properties

View Source

FrameRate

Gets or sets frame rate of loading.

Declaration
C#
Copy
public int FrameRate { get; set; }
Property Value
Type Description
Int32
API Level: 6
View Source

ImageArray

Gets or sets loading image resource array. The mutually exclusive with "LottieResourceUrl".

Declaration
C#
Copy
public string[] ImageArray { get; set; }
Property Value
Type Description
System.String[]
API Level: 6
View Source

Size

Gets or sets loading size.

Declaration
C#
Copy
public Size Size { get; set; }
Property Value
Type Description
Size
API Level: 6
View Source

Style

Return currently applied style.

Declaration
C#
Copy
public LoadingStyle Style { get; }
Property Value
Type Description
LoadingStyle
Remarks

Modifying contents in style may cause unexpected behaviour.

API Level: 8

Methods

View Source

CreateViewStyle()

Get Loading style.

Declaration
C#
Copy
protected override ViewStyle CreateViewStyle()
Returns
Type Description
ViewStyle

The default loading style.

Overrides
Tizen.NUI.Components.Control.CreateViewStyle()
API Level: 8
View Source

Dispose(DisposeTypes)

Dispose Loading.

Declaration
C#
Copy
protected override void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type

Dispose type.

Overrides
Tizen.NUI.Components.Control.Dispose(Tizen.NUI.DisposeTypes)
API Level: 6
View Source

Pause()

Pause Loading Animation.

Declaration
C#
Copy
public void Pause()
API Level: 10
View Source

Play()

Play Loading Animation.

Declaration
C#
Copy
public void Play()
API Level: 10
View Source

Stop()

Stop Loading Animation.

Declaration
C#
Copy
public void Stop()
API Level: 10

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable