Class Page

Definition

Namespace:
Tizen.NUI.Components
Assembly:
Tizen.NUI.Components.dll
API Level:
9

The Page class is a class which is an element of navigation.

C#
Copy
public abstract class Page : Control, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable, IResourcesProvider
Inheritance
Derived
Implements

Constructors

View Source

Page()

Creates a new instance of a Page.

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

Page(String)

Creates a new instance of Page with style.

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

Creates Page by special style defined in UX.

View Source

Page(ControlStyle)

Creates a new instance of a Page with style.

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

A style applied to the newly created Page.

Fields

View Source

AppearingTransitionProperty

AppearingTransitionProperty

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

DisappearingTransitionProperty

DisappearingTransitionProperty

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

EnableBackNavigationProperty

EnableBackNavigationProperty

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

LastFocusedView

Declaration
C#
Copy
protected View LastFocusedView
Field Value
Type Description
View

Properties

View Source

AppearingTransition

Transition properties for the transition of Views in this page during this page is pushed to Navigator.

Declaration
C#
Copy
public TransitionBase AppearingTransition { get; set; }
Property Value
Type Description
TransitionBase
View Source

DisappearingTransition

Transition properties for the transition of Views in this page during this page is popped from Navigator.

Declaration
C#
Copy
public TransitionBase DisappearingTransition { get; set; }
Property Value
Type Description
TransitionBase
View Source

EnableBackNavigation

Gets or sets if this page proceeds back navigation when back button or back key is pressed and released. Back navigation pops the peek page if Navigator has more than one page. If Navigator has only one page, then the current program is exited.

Declaration
C#
Copy
public bool EnableBackNavigation { get; set; }
Property Value
Type Description
Boolean
View Source

Navigator

Navigator which has pushed the Page into its stack. If this Page has not been pushed into any Navigator, then Navigator is null.

Declaration
C#
Copy
public Navigator Navigator { get; }
Property Value
Type Description
Navigator
API Level: 9

Methods

View Source

OnBackNavigation(PageBackNavigationEventArgs)

Called when the back navigation is started. Back navigation pops the peek page if Navigator has more than one page. If Navigator has only one page, then the current program is exited.

Declaration
C#
Copy
protected virtual void OnBackNavigation(PageBackNavigationEventArgs eventArgs)
Parameters
Type Name Description
PageBackNavigationEventArgs eventArgs

The back navigation information.

View Source

RestoreKeyFocus()

works only when DefaultAlgorithm is enabled. to set key focused View when showing.

Declaration
C#
Copy
protected virtual void RestoreKeyFocus()
View Source

SaveKeyFocus()

works only when DefaultAlgorithm is enabled. to save the currently focused View when disappeared.

Declaration
C#
Copy
protected virtual void SaveKeyFocus()

Events

View Source

Appeared

Appeared event is invoked right after the page appears.

Declaration
C#
Copy
public event EventHandler<PageAppearedEventArgs> Appeared
Event Type
Type Description
EventHandler<PageAppearedEventArgs>
API Level: 9
View Source

Appearing

Appearing event is invoked right before the page appears.

Declaration
C#
Copy
public event EventHandler<PageAppearingEventArgs> Appearing
Event Type
Type Description
EventHandler<PageAppearingEventArgs>
API Level: 9
View Source

Disappeared

Disappeared event is invoked right after the page disappears.

Declaration
C#
Copy
public event EventHandler<PageDisappearedEventArgs> Disappeared
Event Type
Type Description
EventHandler<PageDisappearedEventArgs>
API Level: 9
View Source

Disappearing

Disappearing event is invoked right before the page disappears.

Declaration
C#
Copy
public event EventHandler<PageDisappearingEventArgs> Disappearing
Event Type
Type Description
EventHandler<PageDisappearingEventArgs>
API Level: 9

Implements

Extension Methods