Class TriggerableSelector<T>

Definition

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

This will be attached to a View to detect ControlState change.

C#
Copy
public class TriggerableSelector<T> : object
Inheritance
TriggerableSelector<T>

Constructors

View Source

TriggerableSelector(View, Selector<T>, Action<T>, Boolean)

Create an TriggerableSelector.

Declaration
C#
Copy
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.

Boolean updateView

Whether it updates the target view after create a instance.

Methods

View Source

Get()

Return the containing selector. It can be null.

Declaration
C#
Copy
public Selector<T> Get()
Returns
Type Description
Selector<T>
View Source

Reset(View)

Reset selector and listeners.

Declaration
C#
Copy
public void Reset(View view)
Parameters
Type Name Description
View view

The View that is affected by this TriggerableSelector.

Extension Methods