Class Switch
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
Switch is one kind of common component, it can be used as selector. User can handle Navigation by adding/inserting/deleting NavigationItem.
public class Switch : Button, INotifyPropertyChanged, IDisposable
- Inheritance
-
objectTizen.NUI.Binding.BindableObjectTizen.NUI.Binding.ElementTizen.NUI.Components.ControlSwitch
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
View SourceSwitch()
Creates a new instance of a Switch.
Declaration
public Switch()
Properties
View SourceSwitchBackgroundImageURLSelector
Background image's resource url selector in Switch.
Declaration
public StringSelector SwitchBackgroundImageURLSelector { get; set; }
Property Value
Type | Description |
---|---|
Tizen.NUI.Components.StringSelector |
SwitchHandlerImageSize
Handler image's size in Switch.
Declaration
public Size SwitchHandlerImageSize { get; set; }
Property Value
Type | Description |
---|---|
Size |
SwitchHandlerImageURL
Handler image's resource url in Switch.
Declaration
public string SwitchHandlerImageURL { get; set; }
Property Value
Type | Description |
---|---|
string |
SwitchHandlerImageURLSelector
Handler image's resource url selector in Switch.
Declaration
public StringSelector SwitchHandlerImageURLSelector { get; set; }
Property Value
Type | Description |
---|---|
Tizen.NUI.Components.StringSelector |
Methods
View SourceDispose(DisposeTypes)
Dispose Switch and all children on it.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type | Dispose type. |
Overrides
Events
View SourceSelectedEvent
An event for the item selected signal which can be used to subscribe or unsubscribe the event handler provided by the user.
Declaration
public event EventHandler<Switch.SelectEventArgs> SelectedEvent
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><Switch.SelectEventArgs> |
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable