Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.36 KB

frame_currentsourcepagetype.md

File metadata and controls

31 lines (19 loc) · 1.36 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.Frame.CurrentSourcePageType
winrt property

Windows.UI.Xaml.Controls.Frame.CurrentSourcePageType

-description

Gets a type reference for the content that is currently displayed.

-property-value

A type reference for the content that is currently displayed.

-remarks

CurrentSourcePageType and SourcePageType are normally the same value. However, if the frame calls Navigate and the navigation is still in progress, the CurrentSourcePageType is the value before the navigation and the SourcePageType is the value being navigated to.

Tip

If you are programming using a Microsoft .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 Microsoft Visual Basic, use GetType.

-examples

-see-also

Navigating, Page.OnNavigatingFrom