Class NUIApplication
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
- API Level:
- 3
Represents an application that have a UI screen. The NUIApplication class has a default stage.
public class NUIApplication : CoreApplication, IDisposable
- Inheritance
- Implements
Constructors
View SourceNUIApplication()
The default constructor.
Declaration
public NUIApplication()
API Level: 3
View SourceNUIApplication(String)
The constructor with a stylesheet.
Declaration
public NUIApplication(string styleSheet)
Parameters
Type | Name | Description |
---|---|---|
String | styleSheet | The styleSheet url. |
API Level: 3
View SourceNUIApplication(String, NUIApplication.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. |
API Level: 3
Properties
View SourceMultilingualResourceManager
ResourceManager to handle multilingual.
Declaration
public static Resources.ResourceManager MultilingualResourceManager { get; set; }
Property Value
Type | Description |
---|---|
Tizen.System.Resources.ResourceManager |
API Level: 4
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 |
---|---|
Boolean | true if added successfully, false otherwise |
API Level: 4
View SourceExit()
Exits the NUIApplication.
Declaration
public override void Exit()
Overrides
API Level: 4
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
API Level: 3
View SourceOnCreate()
Overrides this method if you want to handle behavior.
Declaration
protected override void OnCreate()
Overrides
API Level: 3
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
API Level: 3
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
API Level: 3
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
API Level: 3
View SourceOnPause()
Overrides this method if you want to handle behavior.
Declaration
protected virtual void OnPause()
API Level: 3
View SourceOnPreCreate()
Overrides this method if you want to handle behavior.
Declaration
protected virtual void OnPreCreate()
API Level: 3
View SourceOnRegionFormatChanged(RegionFormatChangedEventArgs)
Overrides this method if you want to handle behavior.
Declaration
protected override void OnRegionFormatChanged(RegionFormatChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
RegionFormatChangedEventArgs | e |
Overrides
API Level: 3
View SourceOnResume()
Overrides this method if you want to handle behavior.
Declaration
protected virtual void OnResume()
API Level: 3
View SourceOnTerminate()
Overrides this method if you want to handle behavior.
Declaration
protected override void OnTerminate()
Overrides
API Level: 3
View SourceRegisterAssembly(Assembly)
Register the assembly to XAML.
Declaration
public static void RegisterAssembly(Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
Assembly | assembly |
API Level: 5
View SourceRun(String[])
Runs the NUIApplication.
Declaration
public override void Run(string[] args)
Parameters
Type | Name | Description |
---|---|---|
String[] | args | Arguments from commandline. |
Overrides
API Level: 4
Events
View SourcePaused
Occurs whenever the application is paused.
Declaration
public event EventHandler Paused
Event Type
Type | Description |
---|---|
EventHandler |
API Level: 4
View SourceResumed
Occurs whenever the application is resumed.
Declaration
public event EventHandler Resumed
Event Type
Type | Description |
---|---|
EventHandler |