Class Switch
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
- API Level:
- 6
Switch is one kind of common component, it can be used as selector. User can handle Navigation by adding/inserting/deleting NavigationItem.
C#Copypublic class Switch : Button, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
- Inheritance
-
System.ObjectTizen.NUI.Binding.BindableObjectTizen.NUI.Binding.ElementTizen.NUI.Components.ControlSwitch
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
Declaration
C#Copypublic Switch()
API Level: 6
Properties
Declaration
C#Copypublic StringSelector SwitchBackgroundImageURLSelector { get; set; }
Property Value
Type | Description |
---|---|
Tizen.NUI.Components.StringSelector |
API Level: 6
Declaration
C#Copypublic Size SwitchHandlerImageSize { get; set; }
Property Value
Type | Description |
---|---|
Size |
API Level: 6
Declaration
C#Copypublic string SwitchHandlerImageURL { get; set; }
Property Value
Type | Description |
---|---|
System.String |
API Level: 6
Declaration
C#Copypublic StringSelector SwitchHandlerImageURLSelector { get; set; }
Property Value
Type | Description |
---|---|
Tizen.NUI.Components.StringSelector |
API Level: 6
Methods
Declaration
C#Copyprotected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type | Dispose type. |
Overrides
API Level: 6
Events
View Source
SelectedEvent
An event for the item selected signal which can be used to subscribe or unsubscribe the event handler provided by the user.
Declaration
C#Copypublic event EventHandler<Switch.SelectEventArgs> SelectedEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Switch.SelectEventArgs> |
API Level: 6
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable