Class LottieSwitchStyle
Definition
- Namespace:
- Tizen.NUI.Components.Extension
- Assembly:
- Tizen.NUI.Components.dll
LottieSwitchStyle implements ILottieButtonStyle interface to support extended ButtonStyle using Lottie.
public class LottieSwitchStyle : SwitchStyle, IDynamicResourceHandler, IDisposable, ILottieButtonStyle
- Inheritance
- Implements
-
IDisposable
Constructors
View SourceLottieSwitchStyle()
Create new instance of a LottieButtonStyle.
Declaration
public LottieSwitchStyle()
LottieSwitchStyle(LottieSwitchStyle)
Copy constructor.
Declaration
public LottieSwitchStyle(LottieSwitchStyle style)
Parameters
| Type | Name | Description |
|---|---|---|
| LottieSwitchStyle | style |
Properties
View SourceLottieUrl
Get/Set Lottie resource url.
Declaration
public string LottieUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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 SourceCopyFrom(BindableObject)
Copy properties of other ViewStyle to this.
Declaration
public override void CopyFrom(BindableObject bindableObject)
Parameters
| Type | Name | Description |
|---|---|---|
| BindableObject | bindableObject |
Overrides
View SourceCreateExtension()
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
Implements
IDisposable