Class WidgetApplication

    Definition

    Namespace:
    Tizen.Applications
    Assembly:
    Tizen.Applications.WidgetApplication.dll

    Represents a widget application.

    public class WidgetApplication : CoreApplication
    Inheritance
    object
    Application
    CoreApplication
    WidgetApplication

    Constructors

    View Source

    WidgetApplication(IDictionary<Type, string>)

    Initializes the WidgetApplication class with the type and application ID.

    Declaration
    public WidgetApplication(IDictionary<Type, string> typeInfo)
    Parameters
    Type Name Description
    IDictionary<, ><Type, string> typeInfo

    Map structure for the derived class type and widget ID.

    View Source

    WidgetApplication(Type)

    Initializes the WidgetApplication class with the type.

    Declaration
    public WidgetApplication(Type type)
    Parameters
    Type Name Description
    Type type

    Derived class type.

    Remarks

    Widget ID will be replaced as the application ID.

    Methods

    View Source

    GetInstances(Type)

    Gets all instances of the widget associated with the type.

    Declaration
    public IEnumerable<WidgetBase> GetInstances(Type type)
    Parameters
    Type Name Description
    Type type

    Class type for the widget.

    Returns
    Type Description
    IEnumerable<><WidgetBase>
    View Source

    Run(string[])

    Runs the widget application's main loop.

    Declaration
    public override void Run(string[] args)
    Parameters
    Type Name Description
    string[] args

    Arguments from the commandline.

    Overrides
    CoreApplication.Run(string[])

    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