Class Extensions

    Definition

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

    Extension class for View defining Tizen.NUI.Xaml.Extensions.LoadFromXaml{TView} method.

    public static class Extensions
    Inheritance
    object
    Extensions

    Methods

    View Source

    LoadFromXaml<TXaml>(TXaml, string)

    Returns a TXaml with the properties that are defined in the application manifest for callingType.

    Declaration
    public static TXaml LoadFromXaml<TXaml>(this TXaml view, string xaml)
    Parameters
    Type Name Description
    TXaml view

    The view on which this method operates.

    string xaml

    The XAML that encodes the view state.

    Returns
    Type Description
    TXaml

    A TXaml with the properties that are defined in the application manifest for callingType.

    Type Parameters
    Name Description
    TXaml

    The type of view to initialize with state from XAML.

    View Source

    LoadFromXaml<TXaml>(TXaml, Type)

    Returns an initialized view by loading the specified xaml.

    Declaration
    public static TXaml LoadFromXaml<TXaml>(this TXaml view, Type callingType)
    Parameters
    Type Name Description
    TXaml view

    The view on which this method operates.

    Type callingType

    The type of the caller.

    Returns
    Type Description
    TXaml

    A TXaml with the properties that are defined in the application manifest for callingType.

    Type Parameters
    Name Description
    TXaml

    The type of view to initialize with state from XAML.

    View Source

    LoadFromXamlFile<TXaml>(TXaml, string)

    Declaration
    public static TXaml LoadFromXamlFile<TXaml>(this TXaml view, string nameOfXamlFile)
    Parameters
    Type Name Description
    TXaml view
    string nameOfXamlFile
    Returns
    Type Description
    TXaml
    Type Parameters
    Name Description
    TXaml
    View Source

    LoadObject<T>(string)

    Declaration
    public static T LoadObject<T>(string path)
    Parameters
    Type Name Description
    string path
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX