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#Copypublic class Loading : Control, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
- Inheritance
-
System.ObjectTizen.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()
API Level: 6
Declaration
C#Copypublic Loading(string style)
Parameters
Type | Name | Description |
---|---|---|
System.String | style | The string to initialize the Loading. |
API Level: 8
Declaration
C#Copypublic Loading(LoadingStyle loadingStyle)
Parameters
Type | Name | Description |
---|---|---|
LoadingStyle | loadingStyle | The style object to initialize the Loading. |
API Level: 8
Properties
Declaration
C#Copypublic 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#Copypublic string[] ImageArray { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
API Level: 6
Declaration
C#Copypublic Size Size { get; set; }
Property Value
Type | Description |
---|---|
Size |
API Level: 6
Declaration
C#Copypublic LoadingStyle Style { get; }
Property Value
Type | Description |
---|---|
LoadingStyle |
Remarks
Modifying contents in style may cause unexpected behaviour.
API Level: 8
Methods
Declaration
C#Copyprotected override ViewStyle CreateViewStyle()
Returns
Type | Description |
---|---|
ViewStyle | The default loading style. |
Overrides
Tizen.NUI.Components.Control.CreateViewStyle()
API Level: 8
Declaration
C#Copyprotected 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
Declaration
C#Copypublic void Pause()
API Level: 10
Declaration
C#Copypublic void Play()
API Level: 10
Declaration
C#Copypublic void Stop()
API Level: 10
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable