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, IDynamicResourceHandler, IDisposable
Inheritance
Derived
Implements
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
ImageViewStyle
API Level: 8
View Source

Track

Track image's style.

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

Methods

View Source

CopyFrom(BindableObject)

Copy properties of other ViewStyle to this.

Declaration
C#
Copy
public 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#
Copy
public override ButtonExtension CreateExtension()
Returns
Type Description
ButtonExtension
Overrides

Implements

IDisposable

Extension Methods