Class FrameComponent
Definition
- Namespace:
- Tizen.Applications.ComponentBased.Common
- Assembly:
- Tizen.Applications.ComponentBased.dll
The class for showing UI module
public abstract class FrameComponent : BaseComponent
- Inheritance
Properties
View SourceDisplayStatus
Gets the display status of a component.
Declaration
public DisplayStatus DisplayStatus { get; }
Property Value
Type | Description |
---|---|
DisplayStatus |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown when component type is already added to the component. |
Methods
View SourceCreateWindowInfo()
Overrides this method to create window. It will be called before OnCreate method.
Declaration
public abstract IWindowInfo CreateWindowInfo()
Returns
Type | Description |
---|---|
IWindowInfo | Window object to use |
OnCreate()
Overrides this method to handle behavior when the component is launched.
Declaration
public abstract bool OnCreate()
Returns
Type | Description |
---|---|
bool | True if a service component is successfully created |
OnDestroy()
Overrides this method if want to handle behavior when the component is destroyed.
Declaration
public virtual void OnDestroy()
OnPause()
Overrides this method if you want to handle the behavior when the component is paused.
Declaration
public virtual void OnPause()
OnResume()
Overrides this method if you want to handle the behavior when the component is resumed.
Declaration
public virtual void OnResume()
OnStart(AppControl, bool)
Overrides this method if want to handle behavior when the component receives the appcontrol message.
Declaration
public virtual void OnStart(AppControl appControl, bool restarted)
Parameters
Type | Name | Description |
---|---|---|
AppControl | appControl | appcontrol object |
bool | restarted | True if it was restarted |
OnStop()
Overrides this method if you want to handle the behavior when the component is stopped.
Declaration
public virtual void OnStop()