Class LottieButtonExtension
Definition
- Namespace:
- Tizen.NUI.Components.Extension
- Assembly:
- Tizen.NUI.Components.dll
LottieButtonExtension is a ButtonExtension class that uses Lottie image for a Button icon.
public class LottieButtonExtension : ButtonExtension
- Inheritance
Methods
View SourceOnControlStateChanged(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
View SourceProcessIcon(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 |