Class ContentPage
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
The ContentPage class is a class which is a formatted full screen page. ContentPage contains title app bar and content.
public class ContentPage : Page, IDynamicResourceHandler, INameScope, System.IDisposable, IResourcesProvider
- Inheritance
-
objectContentPage
- Implements
-
System.IDisposable
Constructors
View SourceContentPage()
Creates a new instance of a ContentPage.
Declaration
public ContentPage()
ContentPage(string)
Creates a new instance of ContentPage with style.
Declaration
public ContentPage(string style)
Parameters
Type | Name | Description |
---|---|---|
string | style | Creates ContentPage by special style defined in UX. |
ContentPage(ControlStyle)
Creates a new instance of a ContentPage with style.
Declaration
public ContentPage(ControlStyle style)
Parameters
Type | Name | Description |
---|---|---|
ControlStyle | style | A style applied to the newly created ContentPage. |
Fields
View SourceAppBarProperty
AppBarProperty
Declaration
public static readonly BindableProperty AppBarProperty
Field Value
Type | Description |
---|---|
BindableProperty |
ContentProperty
ContentProperty
Declaration
public static readonly BindableProperty ContentProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Properties
View SourceAppBar
AppBar of ContentPage. AppBar is added as a child of ContentPage automatically. AppBar is positioned at the top of the Page.
Declaration
public AppBar AppBar { get; set; }
Property Value
Type | Description |
---|---|
AppBar |
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
public View Content { get; set; }
Property Value
Type | Description |
---|---|
View |
Methods
View SourceAccessibilityGetName()
Declaration
protected override string AccessibilityGetName()
Returns
Type | Description |
---|---|
string |
Overrides
View SourceDispose(DisposeTypes)
Dispose ContentPage and all children on it.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type | Dispose type. |
Overrides
View SourceOnInitialize()
Declaration
public override void OnInitialize()
Overrides
View SourceRestoreKeyFocus()
for the case of ContentPage, it sets key focus on AppBar's NavigationContent
Declaration
protected override void RestoreKeyFocus()