Class LottieSwitchExtension

    Definition

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

    LottieSwitchExtension is a SwitchExtension class that uses Lottie image for a Switch icon. This extension must be used within a class implementing LottieSwitchStyle.

    public class LottieSwitchExtension : SwitchExtension
    Inheritance
    object
    ButtonExtension
    SwitchExtension
    LottieSwitchExtension

    Methods

    View Source

    OnControlStateChanged(Button, ControlStateChangedEventArgs)

    Describes actions on Button's ControlStates changed.

    Declaration
    public override void OnControlStateChanged(Button button, View.ControlStateChangedEventArgs args)
    Parameters
    Type Name Description
    Button button

    The Button instance that the extension currently applied to.

    View.ControlStateChangedEventArgs args

    The control state changed information.

    Overrides
    ButtonExtension.OnControlStateChanged(Button, View.ControlStateChangedEventArgs)
    View Source

    ProcessIcon(Button, ref ImageView)

    Perform further processing of the button icon.

    Declaration
    public override bool ProcessIcon(Button button, ref ImageView icon)
    Parameters
    Type Name Description
    Button button

    The button instance that the extension currently applied to.

    ImageView icon

    The reference of the button icon.

    Returns
    Type Description
    bool
    Overrides
    ButtonExtension.ProcessIcon(Button, ref ImageView)

    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