Class SwitchStyle
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
- API Level:
- 8
SwitchStyle is a class which saves Switch's ux data.
C#Copypublic class SwitchStyle : ButtonStyle, IDynamicResourceHandler, IDisposable
- Inheritance
- Derived
- Implements
-
IDisposable
Constructors
Declaration
C#Copypublic SwitchStyle()
API Level: 8
Declaration
C#Copypublic SwitchStyle(SwitchStyle style)
Parameters
Type | Name | Description |
---|---|---|
SwitchStyle | style | Create SwitchStyle by style customized by user. |
API Level: 8
Properties
Declaration
C#Copypublic ImageViewStyle Thumb { get; set; }
Property Value
Type | Description |
---|---|
ImageViewStyle |
API Level: 8
Declaration
C#Copypublic ImageViewStyle Track { get; set; }
Property Value
Type | Description |
---|---|
ImageViewStyle |
API Level: 8
Methods
Declaration
C#Copypublic override void CopyFrom(BindableObject bindableObject)
Parameters
Type | Name | Description |
---|---|---|
BindableObject | bindableObject |
Overrides
API Level: 8
View Source
CreateExtension()
Create corresponding ButtonExtension. This is to be called by a Button. You may override this function to customize button's behavior.
Declaration
C#Copypublic override ButtonExtension CreateExtension()
Returns
Type | Description |
---|---|
ButtonExtension |
Overrides
Implements
IDisposable