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#
Copy
public class ContentPage : Page, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable, IResourcesProvider
Inheritance
Implements

Constructors

View Source

ContentPage()

Creates a new instance of a ContentPage.

Declaration
C#
Copy
public ContentPage()
API Level: 9
View Source

ContentPage(String)

Creates a new instance of ContentPage with style.

Declaration
C#
Copy
public ContentPage(string style)
Parameters
Type Name Description
String style

Creates ContentPage by special style defined in UX.

View Source

ContentPage(ControlStyle)

Creates a new instance of a ContentPage with style.

Declaration
C#
Copy
public ContentPage(ControlStyle style)
Parameters
Type Name Description
ControlStyle style

A style applied to the newly created ContentPage.

Fields

View Source

AppBarProperty

AppBarProperty

Declaration
C#
Copy
public static readonly BindableProperty AppBarProperty
Field Value
Type Description
BindableProperty
View Source

ContentProperty

ContentProperty

Declaration
C#
Copy
public 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#
Copy
public 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#
Copy
public View Content { get; set; }
Property Value
Type Description
View
API Level: 9

Methods

View Source

AccessibilityGetName()

Declaration
C#
Copy
protected override string AccessibilityGetName()
Returns
Type Description
String
Overrides
View Source

Dispose(DisposeTypes)

Dispose ContentPage and all children on it.

Declaration
C#
Copy
protected override void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type

Dispose type.

Overrides
View Source

OnInitialize()

Overrides the parent method.

Declaration
C#
Copy
public override void OnInitialize()
Overrides
View Source

RestoreKeyFocus()

for the case of ContentPage, it sets key focus on AppBar's NavigationContent

Declaration
C#
Copy
protected override void RestoreKeyFocus()
Overrides

Implements

Extension Methods