Class FrameComponent

Definition

Namespace:
Tizen.Applications.ComponentBased.Common
Assembly:
Tizen.Applications.ComponentBased.dll
API Level:
6

The class for showing UI module

C#
Copy
public abstract class FrameComponent : BaseComponent
Inheritance
System.Object
FrameComponent
Derived
Tizen.NUI.NUIFrameComponent

Properties

View Source

DisplayStatus

Gets the display status of a component.

Declaration
C#
Copy
public DisplayStatus DisplayStatus { get; }
Property Value
Type Description
DisplayStatus
Exceptions
Type Condition
System.InvalidOperationException

Thrown when component type is already added to the component.

API Level: 6

Methods

View Source

CreateWindowInfo()

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

Declaration
C#
Copy
public abstract IWindowInfo CreateWindowInfo()
Returns
Type Description
IWindowInfo

Window object to use

API Level: 6
View Source

OnCreate()

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

Declaration
C#
Copy
public abstract bool OnCreate()
Returns
Type Description
Boolean

True if a service component is successfully created

API Level: 6
View Source

OnDestroy()

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

Declaration
C#
Copy
public virtual void OnDestroy()
API Level: 6
View Source

OnPause()

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

Declaration
C#
Copy
public virtual void OnPause()
API Level: 6
View Source

OnResume()

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

Declaration
C#
Copy
public virtual void OnResume()
API Level: 6
View Source

OnStart(AppControl, Boolean)

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

Declaration
C#
Copy
public virtual void OnStart(AppControl appControl, bool restarted)
Parameters
Type Name Description
AppControl appControl

appcontrol object

Boolean restarted

True if it was restarted

API Level: 6
View Source

OnStop()

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

Declaration
C#
Copy
public virtual void OnStop()
API Level: 6