Class SwitchStyle
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
SwitchStyle is a class which saves Switch's ux data.
public class SwitchStyle : ButtonStyle, IDynamicResourceHandler, IDisposable
- Inheritance
- Derived
- Implements
-
IDisposable
Constructors
View SourceSwitchStyle()
Creates a new instance of a SwitchStyle.
Declaration
public SwitchStyle()
SwitchStyle(SwitchStyle)
Creates a new instance of a SwitchStyle with style.
Declaration
public SwitchStyle(SwitchStyle style)
Parameters
Type | Name | Description |
---|---|---|
SwitchStyle | style | Create SwitchStyle by style customized by user. |
Properties
View SourceThumb
Thumb image's style.
Declaration
public ImageViewStyle Thumb { get; set; }
Property Value
Type | Description |
---|---|
ImageViewStyle |
Track
Track image's style.
Declaration
public ImageViewStyle Track { get; set; }
Property Value
Type | Description |
---|---|
ImageViewStyle |
Methods
View SourceCopyFrom(BindableObject)
Declaration
public override void CopyFrom(BindableObject bindableObject)
Parameters
Type | Name | Description |
---|---|---|
BindableObject | bindableObject |
Overrides
View SourceCreateExtension()
Declaration
public override ButtonExtension CreateExtension()
Returns
Type | Description |
---|---|
ButtonExtension |
Overrides
Implements
IDisposable