Class TriggerableSelector<T>
Definition
- Namespace:
- Tizen.NUI.BaseComponents
- Assembly:
- Tizen.NUI.dll
This will be attached to a View to detect ControlState change.
C#Copypublic class TriggerableSelector<T> : object
- Inheritance
-
TriggerableSelector<T>
Constructors
View Source
TriggerableSelector(View, Selector<T>, Action<T>, Boolean)
Create an TriggerableSelector.
Declaration
C#Copypublic TriggerableSelector(View view, Selector<T> selector, Action<T> targetPropertySetter, bool updateView = false)
Parameters
Type | Name | Description |
---|---|---|
View | view | The View that is affected by this TriggerableSelector. |
Selector<T> | selector | The selector value. |
Action<T> | targetPropertySetter | The TriggerableSelector will call this setter when the view's ControlState has changed. |
Boolean | updateView | Whether it updates the target view after create a instance. |
Methods
Declaration
C#Copypublic Selector<T> Get()
Returns
Type | Description |
---|---|
Selector<T> |
Declaration
C#Copypublic void Reset(View view)
Parameters
Type | Name | Description |
---|---|---|
View | view | The View that is affected by this TriggerableSelector. |