PageStackEntry.PageStackEntry constructor

Applies to Windows and Windows Phone

Initializes a new instance of the PageStackEntry class.

Syntax


public PageStackEntry(
  Type sourcePageType, 
  object parameter, 
  NavigationTransitionInfo navigationTransitionInfo
)

Parameters

sourcePageType

Type: System.Type [.NET] | TypeName [C++]

The type of page associated with the navigation entry, as a type reference (System.Type for .NET, a TypeName helper struct for C++/CX).

parameter

Type: System.Object [.NET] | Platform::Object [C++]

The navigation parameter associated with the navigation entry.

navigationTransitionInfo

Type: NavigationTransitionInfo

Info about the animated transition associated with the navigation entry.

Remarks

Note  If you are programming using a .NET language (C# or Microsoft Visual Basic), the TypeName type projects as System.Type. When programming using C#, it is common to use the typeof operator to get references to the System.Type of a type. In Visual Basic, use GetType. If you're using C++/CX), where you'll need to create a TypeName helper struct, you can use the typeid component extension.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Navigation
Windows::UI::Xaml::Navigation [C++]

Metadata

Windows.winmd

See also

PageStackEntry
BackStack
ForwardStack
XAML Navigation sample

 

 

Show:
© 2014 Microsoft