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.

    public class Loading : Control, INotifyPropertyChanged, IDisposable
    Inheritance
    object
    BindableObject
    Tizen.NUI.Binding.Element
    BaseHandle
    Animatable
    Container
    View
    ViewWrapper
    CustomView
    VisualView
    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
    public Loading()
    Remarks

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

    View Source

    Loading(string)

    Constructor of the Loading class with special style.

    Declaration
    public 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.

    View Source

    Loading(LoadingStyle)

    The constructor of the Loading class with specific style.

    Declaration
    public 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

    View Source

    FrameRate

    Gets or sets frame rate of loading.

    Declaration
    public 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.

    View Source

    ImageArray

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

    Declaration
    public 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.

    View Source

    Size

    Gets or sets loading size.

    Declaration
    public 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.

    View Source

    Style

    Return currently applied style.

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

    Modifying contents in style may cause unexpected behaviour.

    Methods

    View Source

    CreateViewStyle()

    Get Loading style.

    Declaration
    protected override ViewStyle CreateViewStyle()
    Returns
    Type Description
    ViewStyle

    The default loading style.

    Overrides
    Tizen.NUI.Components.Control.CreateViewStyle()
    Remarks

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

    View Source

    Dispose(DisposeTypes)

    Dispose Loading.

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

    Dispose type.

    Overrides
    Tizen.NUI.Components.Control.Dispose(Tizen.NUI.DisposeTypes)
    Remarks

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

    View Source

    Pause()

    Pause Loading Animation.

    Declaration
    public void Pause()
    Remarks

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

    View Source

    Play()

    Play Loading Animation.

    Declaration
    public void Play()
    Remarks

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

    View Source

    Stop()

    Stop Loading Animation.

    Declaration
    public void Stop()
    Remarks

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

    Implements

    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX