Class Selector<T>
Definition
- Namespace:
- Tizen.NUI.BaseComponents
- Assembly:
- Tizen.NUI.dll
- API Level:
- 9
The selector class is a collection of a ControlState and a T value pair.
C#Copypublic class Selector<T> : IEnumerable<SelectorItem<T>>, IEnumerable
- Inheritance
-
System.ObjectSelector<T>
- Derived
-
Tizen.NUI.Components.ColorSelectorTizen.NUI.Components.FloatSelectorTizen.NUI.Components.IntSelectorTizen.NUI.Components.RectangleSelectorTizen.NUI.Components.StringSelectorTizen.NUI.Components.Vector2Selector
- Implements
-
System.Collections.Generic.IEnumerable<SelectorItem<T>>System.Collections.IEnumerable
Constructors
Declaration
C#Copypublic Selector()
API Level: 9
Properties
Declaration
C#Copypublic T SelectedFocused { get; set; }
Property Value
Type | Description |
---|---|
T |
Methods
Declaration
C#Copypublic void Add(SelectorItem<T> item)
Parameters
Type | Name | Description |
---|---|---|
SelectorItem<T> | item | The selector item includes state and value. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown when item is null. |
API Level: 9
Declaration
C#Copypublic override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
System.Object | other |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
API Level: 9
Operators
Declaration
C#Copypublic static implicit operator Selector<T>(T value)
Parameters
Type | Name | Description |
---|---|---|
T | value | The value will be converted to a selector. |
Returns
Type | Description |
---|---|
Selector<T> |
API Level: 9
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable