Class SelectorExtensions

Definition

Namespace:
Tizen.NUI.BaseComponents
Assembly:
Tizen.NUI.dll

Extension class for Selector<T>.

C#
Copy
public static class SelectorExtensions : object
Inheritance
SelectorExtensions

Methods

View Source

Add<T>(IList<SelectorItem<T>>, ControlState, T)

Adds the specified state and value to the Tizen.NUI.BaseComponents.Selector`1.SelectorItems.

Declaration
C#
Copy
public static void Add<T>(this IList<SelectorItem<T>> list, ControlState state, T value)
Parameters
Type Name Description
IList<SelectorItem<T>> list

The list for adding state-value pair.

ControlState state

The state.

T value

The value associated with state.

Type Parameters
Name Description
T