Interface ITokenTable<T>

    Definition

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

    The interface for a token table.

    public interface ITokenTable<T>

    Methods

    View Source

    Bind(View, IPropertySetter<T>, IToken<T>)

    The method to bind target with token. When table is updated, binded view will be updated.

    Declaration
    void Bind(View target, IPropertySetter<T> setter, IToken<T> token)
    Parameters
    Type Name Description
    View target
    IPropertySetter<T> setter
    IToken<T> token
    View Source

    TryGetToken(View, string, out IToken<T>)

    The method to get binded token to the view.

    Declaration
    bool TryGetToken(View target, string propertyName, out IToken<T> token)
    Parameters
    Type Name Description
    View target

    The target view.

    string propertyName

    The property name of the target view.

    IToken<T> token

    The binded token.

    Returns
    Type Description
    bool

    True if the token is found, otherwise false.

    View Source

    TryGetValue(string, out T)

    The method to get the value from the resource table.

    Declaration
    bool TryGetValue(string id, out T result)
    Parameters
    Type Name Description
    string id
    T result
    Returns
    Type Description
    bool
    View Source

    Update(IDictionary<string, T>)

    The method to update the resource table.

    Declaration
    void Update(IDictionary<string, T> table)
    Parameters
    Type Name Description
    IDictionary<, ><string, T> table

    Events

    View Source

    Updated

    The event which is invoked when the resource table is updated.

    Declaration
    event EventHandler Updated
    Event Type
    Type Description
    EventHandler

    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