Class NUIApplication
Definition
- Assembly:
- Tizen.NUI.dll
Represents an application that have a UI screen. The NUIApplication class has a default stage.
C#Copypublic class NUIApplication : CoreApplication, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic NUIApplication()
View Source
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
C#Copypublic 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. |
Declaration
C#Copypublic NUIApplication(string styleSheet, NUIApplication.WindowMode windowMode)
Parameters
| Type | Name | Description |
|---|---|---|
| string | styleSheet | The styleSheet url. |
| NUIApplication.WindowMode | windowMode | The windowMode. |
Declaration
C#Copypublic NUIApplication(string styleSheet)
Parameters
| Type | Name | Description |
|---|---|---|
| string | styleSheet | The styleSheet url. |
Properties
Declaration
C#Copypublic static Resources.ResourceManager MultilingualResourceManager { get; set; }
Property Value
| Type | Description |
|---|---|
| Tizen.System.Resources.ResourceManager |
Methods
View Source
AddIdle(Delegate)
Ensures that the function passed in is called from the main loop when it is idle.
Declaration
C#Copypublic 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 |
Declaration
C#Copypublic override void Exit()
Overrides
View Source
OnAppControlReceived(AppControlReceivedEventArgs)
Overrides this method if you want to handle behavior.
Declaration
C#Copyprotected override void OnAppControlReceived(AppControlReceivedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| AppControlReceivedEventArgs | e |
Overrides
Declaration
C#Copyprotected override void OnCreate()
Overrides
View Source
OnLocaleChanged(LocaleChangedEventArgs)
Overrides this method if you want to handle behavior.
Declaration
C#Copyprotected override void OnLocaleChanged(LocaleChangedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| LocaleChangedEventArgs | e |
Overrides
Declaration
C#Copyprotected override void OnLowBattery(LowBatteryEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| LowBatteryEventArgs | e |
Overrides
Declaration
C#Copyprotected override void OnLowMemory(LowMemoryEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| LowMemoryEventArgs | e |
Overrides
Declaration
C#Copyprotected virtual void OnPause()
Declaration
C#Copyprotected virtual void OnPreCreate()
View Source
OnRegionFormatChanged(RegionFormatChangedEventArgs)
Overrides this method if you want to handle behavior.
Declaration
C#Copyprotected override void OnRegionFormatChanged(RegionFormatChangedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| RegionFormatChangedEventArgs | e |
Overrides
Declaration
C#Copyprotected virtual void OnResume()
Declaration
C#Copyprotected override void OnTerminate()
Overrides
Declaration
C#Copypublic static void RegisterAssembly(Assembly assembly)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Reflection.Assembly | assembly |
Declaration
C#Copypublic override void Run(string[] args)
Parameters
| Type | Name | Description |
|---|---|---|
| string[] | args | Arguments from commandline. |
Overrides
Events
Declaration
C#Copypublic event EventHandler Paused
Event Type
| Type | Description |
|---|---|
| System.EventHandler |
Declaration
C#Copypublic event EventHandler Resumed
Event Type
| Type | Description |
|---|---|
| System.EventHandler |
Implements
System.IDisposable