NavigationEventArgs.SourcePageType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
property TypeName SourcePageType { TypeName get(); };
TypeName SourcePageType();
public System.Type SourcePageType { get; }
var typeName = navigationEventArgs.sourcePageType;
Public ReadOnly Property SourcePageType As Type
Property Value
The value of the sourcePageType
parameter from the originating Navigate call, as a type reference (System.Type for Microsoft .NET, a TypeName helper struct for C++/WinRT).
Remarks
During a navigation event, the sourcePageType
parameter is the page that is being navigated to. For more info, see Frame.SourcePageType.
Note
If you are programming using a Microsoft .NET language (C# or Microsoft Visual Basic), the TypeName type projects as System.Type. If you're using C++/WinRT), this is a TypeName helper struct.