Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PageSession Class

Used for navigating to other pages. This class does not implement a page stack but rather allows you to work with one page. If you need a page stack, use the HistoryOrientedPageSession class, which is derived from PageSession and implements an internal page stack for tracking page navigation.

Syntax

public class PageSession : ApplicationSession

Public Instance Constructors

ConstructorDescription
PageSessionInitializes a new instance of the PageSession class.

Public Instance Methods

MethodDescription
CloseCloses the application.
GoToPageNavigates to a specific page.

Protected Instance Methods

MethodDescription
CreateUiHostAllows classes to do a one-time extensive intialization when loading UI.
OnNavigateCalled when the NavigateCommand element is invoked in the application. The parameters from NavigateCommand are passed directly to this method.
LoadPageLoads a page.

Public Static Properties

PropertyDescription
CurrentGets the current page.

See Also

Show: