Class TypeInfo

    Definition

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

    TypeInfo class for instantiation of registered types and introspection of their actions and signals.

    public class TypeInfo : BaseHandle, IDynamicResourceHandler, INameScope, System.IDisposable
    Inheritance
    object
    BindableObject
    Element
    BaseHandle
    TypeInfo
    Implements
    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Constructors

    View Source

    TypeInfo()

    Default constructor which creates TypeInfo object.

    Declaration
    public TypeInfo()
    View Source

    TypeInfo(TypeInfo)

    Creates TypeInfo object.

    Declaration
    public TypeInfo(TypeInfo handle)
    Parameters
    Type Name Description
    TypeInfo handle

    This copy constructor is required for (smart) pointer semantics.

    Methods

    View Source

    CreateInstance()

    Creates an object from this type.

    Declaration
    public BaseHandle CreateInstance()
    Returns
    Type Description
    BaseHandle

    The BaseHandle for the newly created object.

    View Source

    GetBaseName()

    Retrieves the type name for this type.

    Declaration
    public string GetBaseName()
    Returns
    Type Description
    string

    The string name.

    View Source

    GetName()

    Retrieves the type name for this type.

    Declaration
    public string GetName()
    Returns
    Type Description
    string

    The string name.

    View Source

    GetPropertyCount()

    Retrieves the number of event side type registered properties for this type.
    This count does not include all properties.

    Declaration
    public uint GetPropertyCount()
    Returns
    Type Description
    uint

    The count.

    View Source

    GetPropertyName(int)

    Given a property index, retrieve the property name associated with it.

    Declaration
    public string GetPropertyName(int index)
    Parameters
    Type Name Description
    int index

    The property index.

    Returns
    Type Description
    string

    The name of the property at the given index.

    View Source

    ReleaseSwigCPtr(HandleRef)

    Declaration
    protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef swigCPtr
    Overrides
    BaseHandle.ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef)

    Implements

    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Extension Methods

    BindableObjectExtensions.SetBinding(BindableObject, BindableProperty, string, BindingMode, IValueConverter, string)
    NameScopeExtensions.FindByName<T>(Element, string)
    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