Class Loading
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
The Loading class of nui component. It's used to indicate informs users of the ongoing operation.
C#Copypublic class Loading : Control, INotifyPropertyChanged, IDisposable
- Inheritance
-
objectTizen.NUI.Binding.BindableObjectTizen.NUI.Binding.ElementTizen.NUI.Components.ControlLoading
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Remarks
The Loading is created as LottieAnimationView first.
When the user sets ImageArray separately, the image is changed to ImageVisual.
Constructors
Declaration
C#Copypublic Loading()
Remarks
The Loading is created as LottieAnimationView first.
When the user sets ImageArray separately, the image is changed to ImageVisual.
Declaration
C#Copypublic Loading(string style)
Parameters
| Type | Name | Description |
|---|---|---|
| string | style | The string to initialize the Loading. |
Remarks
The Loading is created as LottieAnimationView first.
When the user sets ImageArray separately, the image is changed to ImageVisual.
Declaration
C#Copypublic Loading(LoadingStyle loadingStyle)
Parameters
| Type | Name | Description |
|---|---|---|
| LoadingStyle | loadingStyle | The style object to initialize the Loading. |
Remarks
The Loading is created as LottieAnimationView first.
When the user sets ImageArray separately, the image is changed to ImageVisual.
Properties
Declaration
C#Copypublic int FrameRate { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
The Loading is created as LottieAnimationView first.
When the user sets ImageArray separately, the image is changed to ImageVisual.
ImageArray
Gets or sets loading image resource array. The mutually exclusive with "LottieResourceUrl".
Declaration
C#Copypublic string[] ImageArray { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
Remarks
The Loading is created as LottieAnimationView first.
When the user sets ImageArray separately, the image is changed to ImageVisual.
Declaration
C#Copypublic Size Size { get; set; }
Property Value
| Type | Description |
|---|---|
| Size |
Remarks
The Loading is created as LottieAnimationView first.
When the user sets ImageArray separately, the image is changed to ImageVisual.
Declaration
C#Copypublic LoadingStyle Style { get; }
Property Value
| Type | Description |
|---|---|
| LoadingStyle |
Remarks
Modifying contents in style may cause unexpected behaviour.
Methods
Declaration
C#Copyprotected override ViewStyle CreateViewStyle()
Returns
| Type | Description |
|---|---|
| ViewStyle | The default loading style. |
Overrides
Remarks
The Loading is created as LottieAnimationView first.
When the user sets ImageArray separately, the image is changed to ImageVisual.
Declaration
C#Copyprotected override void Dispose(DisposeTypes type)
Parameters
| Type | Name | Description |
|---|---|---|
| DisposeTypes | type | Dispose type. |
Overrides
Remarks
The Loading is created as LottieAnimationView first.
When the user sets ImageArray separately, the image is changed to ImageVisual.
Declaration
C#Copypublic void Pause()
Remarks
The Loading is created as LottieAnimationView first.
When the user sets ImageArray separately, the image is changed to ImageVisual.
Declaration
C#Copypublic void Play()
Remarks
The Loading is created as LottieAnimationView first.
When the user sets ImageArray separately, the image is changed to ImageVisual.
Declaration
C#Copypublic void Stop()
Remarks
The Loading is created as LottieAnimationView first.
When the user sets ImageArray separately, the image is changed to ImageVisual.