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, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable, IResourcesProvider
Inheritance
Implements
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
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

Fields

View Source

FrameRateProperty

The FrameRate bindable property.

Declaration
C#
Copy
public static readonly BindableProperty FrameRateProperty
Field Value
Type Description
BindableProperty
View Source

ImageArrayProperty

ImageArrayProperty

Declaration
C#
Copy
public static readonly BindableProperty ImageArrayProperty
Field Value
Type Description
BindableProperty
View Source

ImageListProperty

The ImageList bindable property.

Declaration
C#
Copy
public static readonly BindableProperty ImageListProperty
Field Value
Type Description
BindableProperty
View Source

LottieResourceUrlProperty

The lottie resource url bindable property.

Declaration
C#
Copy
public static readonly BindableProperty LottieResourceUrlProperty
Field Value
Type Description
BindableProperty
View Source

SizeProperty

The Size bindable property.

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

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
String[]
API Level: 6
View Source

ImageList

Gets loading image resource array.

Declaration
C#
Copy
public IList<string> ImageList { get; }
Property Value
Type Description
IList<String>
View Source

LottieResourceUrl

Gets or sets an lottie resource url. The mutually exclusive with "ImageArray".

Declaration
C#
Copy
public string LottieResourceUrl { get; set; }
Property Value
Type Description
String
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

ApplyStyle(ViewStyle)

Apply style instance to the view. Basically it sets the bindable property to the value of the bindable property with same name in the style.

Declaration
C#
Copy
public override void ApplyStyle(ViewStyle viewStyle)
Parameters
Type Name Description
ViewStyle viewStyle
Overrides
View Source

CreateViewStyle()

Get Loading style.

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

The default loading style.

Overrides
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
API Level: 6
View Source

OnInitialize()

Overrides the parent method.

Declaration
C#
Copy
public override void OnInitialize()
Overrides
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

Extension Methods