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#
Copy
public class SwitchStyle : ButtonStyle, INotifyPropertyChanged, IDynamicResourceHandler, IDisposable
Inheritance
System.Object
Tizen.NUI.Components.ControlStyle
SwitchStyle
Derived
Tizen.NUI.Components.Extension.LottieSwitchStyle
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable

Constructors

View Source

SwitchStyle()

Creates a new instance of a SwitchStyle.

Declaration
C#
Copy
public SwitchStyle()
API Level: 8
View Source

SwitchStyle(SwitchStyle)

Creates a new instance of a SwitchStyle with style.

Declaration
C#
Copy
public SwitchStyle(SwitchStyle style)
Parameters
Type Name Description
SwitchStyle style

Create SwitchStyle by style customized by user.

API Level: 8

Properties

View Source

Thumb

Thumb image's style.

Declaration
C#
Copy
public ImageViewStyle Thumb { get; set; }
Property Value
Type Description
Tizen.NUI.BaseComponents.ImageViewStyle
API Level: 8
View Source

Track

Track image's style.

Declaration
C#
Copy
public ImageViewStyle Track { get; set; }
Property Value
Type Description
Tizen.NUI.BaseComponents.ImageViewStyle
API Level: 8

Methods

View Source

CopyFrom(BindableObject)

Declaration
C#
Copy
public override void CopyFrom(BindableObject bindableObject)
Parameters
Type Name Description
BindableObject bindableObject
Overrides
API Level: 8

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable