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
    object
    TriggerableSelector<T>

    Constructors

    View Source

    TriggerableSelector(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 Source

    Get()

    Return the containing selector. It can be null.

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

    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.

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX