Class NUIWidgetComponent

    Definition

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

    The class for showing UI module

    public class NUIWidgetComponent : WidgetComponent
    Inheritance
    object
    BaseComponent
    WidgetComponent
    NUIWidgetComponent

    Properties

    View Source

    Window

    Declaration
    public Window Window { get; set; }
    Property Value
    Type Description
    Window

    Methods

    View Source

    CreateWindowInfo(int, int)

    Overrides this method to create window. It will be called before OnCreate method.

    Declaration
    public override IWindowProxy CreateWindowInfo(int width, int height)
    Parameters
    Type Name Description
    int width
    int height
    Returns
    Type Description
    IWindowProxy

    Window object to use

    Overrides
    WidgetComponent.CreateWindowInfo(int, int)
    View Source

    OnCreate(int, int)

    Overrides this method to handle behavior when the component is launched.

    Declaration
    public override bool OnCreate(int width, int height)
    Parameters
    Type Name Description
    int width
    int height
    Returns
    Type Description
    bool

    True if a service component is successfully created

    Overrides
    WidgetComponent.OnCreate(int, int)
    View Source

    OnDestroy(bool)

    Overrides this method if want to handle behavior when the component is destroyed.

    Declaration
    public override void OnDestroy(bool permanent)
    Parameters
    Type Name Description
    bool permanent
    Overrides
    WidgetComponent.OnDestroy(bool)
    View Source

    OnPause()

    Overrides this method if you want to handle the behavior when the component is paused.

    Declaration
    public override void OnPause()
    Overrides
    WidgetComponent.OnPause()
    View Source

    OnResume()

    Overrides this method if you want to handle the behavior when the component is resumed.

    Declaration
    public override void OnResume()
    Overrides
    WidgetComponent.OnResume()
    View Source

    OnStart(bool)

    Overrides this method if you want to handle behavior when the component receives the appcontrol message.

    Declaration
    public override void OnStart(bool restarted)
    Parameters
    Type Name Description
    bool restarted

    True if it was restarted

    Overrides
    WidgetComponent.OnStart(bool)
    View Source

    OnStop()

    Overrides this method if you want to handle the behavior when the component is stopped.

    Declaration
    public override void OnStop()
    Overrides
    WidgetComponent.OnStop()

    Extension Methods

    EXamlExtensions.LoadFromEXaml<T>(T, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    EXamlExtensions.LoadFromEXamlPath<TXaml>(TXaml, string)
    EXamlExtensions.LoadFromEXamlPath<T>(T, Type)
    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