Class ToggleButton
Definition
- Assembly:
- Tizen.NUI.dll
A ToggleButton allows the user to change a setting between two or more states.
public class ToggleButton : Button, INotifyPropertyChanged, IDisposable
- Inheritance
-
objectTizen.NUI.Binding.BindableObjectTizen.NUI.Binding.ElementToggleButton
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
View SourceToggleButton()
Create an instance for toggleButton.
Declaration
public ToggleButton()
Properties
View SourceCurrentStateIndex
Gets and Sets the current state index of toggle button.
Declaration
public int CurrentStateIndex { get; set; }
Property Value
Type | Description |
---|---|
int |
StateVisuals
Gets and Sets the state visual array of toggle button.
Declaration
public PropertyArray StateVisuals { get; set; }
Property Value
Type | Description |
---|---|
PropertyArray |
Tooltips
Gets and Sets the tooltips of toggle button.
Declaration
public PropertyArray Tooltips { get; set; }
Property Value
Type | Description |
---|---|
PropertyArray |
Methods
View SourceDispose(DisposeTypes)
Dispose
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type | The dispose type |
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable