Class TriggerableSelector<T>
Definition
- Namespace:
- Tizen.NUI.BaseComponents
- Assembly:
- Tizen.NUI.dll
This will be attached to a View to detect ControlState change.
public class TriggerableSelector<T>
- Inheritance
-
objectTriggerableSelector<T>
Constructors
View SourceTriggerableSelector(View, Selector<T>, Action<T>, bool)
Create an TriggerableSelector.
Declaration
public 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. |
bool | updateView | Whether it updates the target view after create a instance. |
Methods
View SourceGet()
Return the containing selector. It can be null.
Declaration
public Selector<T> Get()
Returns
Type | Description |
---|---|
Selector<T> |
Reset(View)
Reset selector and listeners.
Declaration
public void Reset(View view)
Parameters
Type | Name | Description |
---|---|---|
View | view | The View that is affected by this TriggerableSelector. |