Class LottieButtonStyle

    Definition

    Namespace:
    Tizen.NUI.Components.Extension
    Assembly:
    Tizen.NUI.Components.dll

    LottieButtonStyle implements ILottieButtonStyle interface to support extended ButtonStyle using Lottie.

    public class LottieButtonStyle : ButtonStyle, IDynamicResourceHandler, IDisposable, ILottieButtonStyle
    Inheritance
    object
    BindableObject
    ViewStyle
    ControlStyle
    ButtonStyle
    LottieButtonStyle
    Implements
    IDynamicResourceHandler
    IDisposable
    ILottieButtonStyle

    Constructors

    View Source

    LottieButtonStyle()

    Create new instance of a LottieButtonStyle.

    Declaration
    public LottieButtonStyle()
    View Source

    LottieButtonStyle(LottieButtonStyle)

    Copy constructor.

    Declaration
    public LottieButtonStyle(LottieButtonStyle style)
    Parameters
    Type Name Description
    LottieButtonStyle style

    Properties

    View Source

    LottieUrl

    Get/Set Lottie resource url.

    Declaration
    public string LottieUrl { get; set; }
    Property Value
    Type Description
    string
    View Source

    PlayRange

    Get/Set LottieFrameInfo for playing on various states of attached Button.

    Declaration
    public Selector<LottieFrameInfo> PlayRange { get; set; }
    Property Value
    Type Description
    Selector<LottieFrameInfo>

    Methods

    View Source

    CopyFrom(BindableObject)

    Copy properties of other ViewStyle to this.

    Declaration
    public override void CopyFrom(BindableObject bindableObject)
    Parameters
    Type Name Description
    BindableObject bindableObject
    Overrides
    ButtonStyle.CopyFrom(BindableObject)
    View Source

    CreateExtension()

    Create corresponding ButtonExtension. This is to be called by a Button. You may override this function to customize button's behavior.

    Declaration
    public override ButtonExtension CreateExtension()
    Returns
    Type Description
    ButtonExtension
    Overrides
    ButtonStyle.CreateExtension()

    Implements

    IDynamicResourceHandler
    IDisposable
    ILottieButtonStyle

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX