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, INotifyPropertyChanged, IDisposable
- Inheritance
-
objectTizen.NUI.Binding.BindableObjectTizen.NUI.BaseComponents.ViewStyleTizen.NUI.Components.ControlStyleSwitchStyle
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.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 |
---|---|
Tizen.NUI.BaseComponents.ImageViewStyle |
Track
Track image's style.
Declaration
public ImageViewStyle Track { get; set; }
Property Value
Type | Description |
---|---|
Tizen.NUI.BaseComponents.ImageViewStyle |
Methods
View SourceCopyFrom(BindableObject)
Style's clone function.
Declaration
public override void CopyFrom(BindableObject bindableObject)
Parameters
Type | Name | Description |
---|---|---|
Tizen.NUI.Binding.BindableObject | bindableObject | The style that need to copy. |
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable