Class NUIApplication
Definition
- Assembly:
- Tizen.NUI.dll
Represents an application that have a UI screen. The NUIApplication class has a default stage.
public class NUIApplication : CoreApplication, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourceNUIApplication()
The default constructor.
Declaration
public NUIApplication()
NUIApplication(string, WindowMode, WindowType)
The constructor with a stylesheet, window mode and default window type. It is the only way to create an IME window.
Declaration
public NUIApplication(string styleSheet, NUIApplication.WindowMode windowMode, WindowType type)
Parameters
Type | Name | Description |
---|---|---|
string | styleSheet | The styleSheet URL. |
NUIApplication.WindowMode | windowMode | The windowMode. |
WindowType | type | The default window type. |
NUIApplication(string, WindowMode)
The constructor with a stylesheet and window mode.
Declaration
public NUIApplication(string styleSheet, NUIApplication.WindowMode windowMode)
Parameters
Type | Name | Description |
---|---|---|
string | styleSheet | The styleSheet url. |
NUIApplication.WindowMode | windowMode | The windowMode. |
NUIApplication(string)
The constructor with a stylesheet.
Declaration
public NUIApplication(string styleSheet)
Parameters
Type | Name | Description |
---|---|---|
string | styleSheet | The styleSheet url. |
Properties
View SourceMultilingualResourceManager
ResourceManager to handle multilingual.
Declaration
public static Resources.ResourceManager MultilingualResourceManager { get; set; }
Property Value
Type | Description |
---|---|
Tizen.System.Resources.ResourceManager |
Methods
View SourceAddIdle(Delegate)
Ensures that the function passed in is called from the main loop when it is idle.
Declaration
public bool AddIdle(Delegate func)
Parameters
Type | Name | Description |
---|---|---|
Tizen.System.Delegate | func | The function to call |
Returns
Type | Description |
---|---|
bool | true if added successfully, false otherwise |
Exit()
Exits the NUIApplication.
Declaration
public override void Exit()
Overrides
View SourceOnAppControlReceived(AppControlReceivedEventArgs)
Overrides this method if you want to handle behavior.
Declaration
protected override void OnAppControlReceived(AppControlReceivedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
AppControlReceivedEventArgs | e |
Overrides
View SourceOnCreate()
Overrides this method if you want to handle behavior.
Declaration
protected override void OnCreate()
Overrides
View SourceOnLocaleChanged(LocaleChangedEventArgs)
Overrides this method if you want to handle behavior.
Declaration
protected override void OnLocaleChanged(LocaleChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
LocaleChangedEventArgs | e |
Overrides
View SourceOnLowBattery(LowBatteryEventArgs)
Overrides this method if you want to handle behavior.
Declaration
protected override void OnLowBattery(LowBatteryEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
LowBatteryEventArgs | e |
Overrides
View SourceOnLowMemory(LowMemoryEventArgs)
Overrides this method if you want to handle behavior.
Declaration
protected override void OnLowMemory(LowMemoryEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
LowMemoryEventArgs | e |
Overrides
View SourceOnPause()
Overrides this method if you want to handle behavior.
Declaration
protected virtual void OnPause()
OnPreCreate()
Overrides this method if you want to handle behavior.
Declaration
protected virtual void OnPreCreate()
OnRegionFormatChanged(RegionFormatChangedEventArgs)
Overrides this method if you want to handle behavior.
Declaration
protected override void OnRegionFormatChanged(RegionFormatChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
RegionFormatChangedEventArgs | e |
Overrides
View SourceOnResume()
Overrides this method if you want to handle behavior.
Declaration
protected virtual void OnResume()
OnTerminate()
Overrides this method if you want to handle behavior.
Declaration
protected override void OnTerminate()
Overrides
View SourceRegisterAssembly(Assembly)
Register the assembly to XAML.
Declaration
public static void RegisterAssembly(Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.Assembly | assembly |
Run(string[])
Runs the NUIApplication.
Declaration
public override void Run(string[] args)
Parameters
Type | Name | Description |
---|---|---|
string[] | args | Arguments from commandline. |
Overrides
Events
View SourcePaused
Occurs whenever the application is paused.
Declaration
public event EventHandler Paused
Event Type
Type | Description |
---|---|
System.EventHandler |
Resumed
Occurs whenever the application is resumed.
Declaration
public event EventHandler Resumed
Event Type
Type | Description |
---|---|
System.EventHandler |