Class ToggleButton

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll
API Level:
3

A ToggleButton allows the user to change a setting between two or more states.

C#
Copy
public class ToggleButton : Button, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
Inheritance
Tizen.NUI.Binding.BindableObject
Tizen.NUI.Binding.Element
ToggleButton
Implements
System.IDisposable

Constructors

View Source

ToggleButton()

Create an instance for toggleButton.

Declaration
C#
Copy
public ToggleButton()
API Level: 3

Properties

View Source

CurrentStateIndex

Gets and Sets the current state index of toggle button.

Declaration
C#
Copy
public int CurrentStateIndex { get; set; }
Property Value
Type Description
System.Int32
API Level: 3
View Source

StateVisuals

Gets and Sets the state visual array of toggle button.

Declaration
C#
Copy
public PropertyArray StateVisuals { get; set; }
Property Value
Type Description
PropertyArray
API Level: 3
View Source

Tooltips

Gets and Sets the tooltips of toggle button.

Declaration
C#
Copy
public PropertyArray Tooltips { get; set; }
Property Value
Type Description
PropertyArray
API Level: 3

Methods

View Source

Dispose(DisposeTypes)

Dispose

Declaration
C#
Copy
protected override void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type

The dispose type

Overrides
API Level: 3

Implements

System.IDisposable