Class ContentPage
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
- API Level:
- 9
The ContentPage class is a class which is a formatted full screen page. ContentPage contains title app bar and content.
C#Copypublic class ContentPage : Page, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable, IResourcesProvider
- Inheritance
- Implements
Constructors
Declaration
C#Copypublic ContentPage()
API Level: 9
Declaration
C#Copypublic ContentPage(string style)
Parameters
Type | Name | Description |
---|---|---|
String | style | Creates ContentPage by special style defined in UX. |
Declaration
C#Copypublic ContentPage(ControlStyle style)
Parameters
Type | Name | Description |
---|---|---|
ControlStyle | style | A style applied to the newly created ContentPage. |
Fields
Declaration
C#Copypublic static readonly BindableProperty AppBarProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Declaration
C#Copypublic static readonly BindableProperty ContentProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Properties
View Source
AppBar
AppBar of ContentPage. AppBar is added as a child of ContentPage automatically. AppBar is positioned at the top of the Page.
Declaration
C#Copypublic AppBar AppBar { get; set; }
Property Value
Type | Description |
---|---|
AppBar |
API Level: 9
View Source
Content
Content of ContentPage. Content is added as a child of ContentPage automatically. Content is positioned below AppBar. Content is resized to fill the full screen except AppBar.
Declaration
C#Copypublic View Content { get; set; }
Property Value
Type | Description |
---|---|
View |
API Level: 9
Methods
Declaration
C#Copyprotected override string AccessibilityGetName()
Returns
Type | Description |
---|---|
String |
Overrides
Declaration
C#Copyprotected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type | Dispose type. |
Overrides
Declaration
C#Copypublic override void OnInitialize()
Overrides
View Source
RestoreKeyFocus()
for the case of ContentPage, it sets key focus on AppBar's NavigationContent
Declaration
C#Copyprotected override void RestoreKeyFocus()