Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.58 KB

frame_navigate_1603787821.md

File metadata and controls

32 lines (21 loc) · 1.58 KB
-api-id -api-type
M:Windows.UI.Xaml.Controls.Frame.Navigate(Windows.UI.Xaml.Interop.TypeName,System.Object)
winrt method

Windows.UI.Xaml.Controls.Frame.Navigate

-description

Causes the Frame to load content represented by the specified Page-derived data type, also passing a parameter to be interpreted by the target of the navigation.

-parameters

-param sourcePageType

The page to navigate to, specified as a type reference to its partial class type. Must be a Page-derived data type; otherwise, an exception is thrown. (A type reference is given as System.Type for Microsoft .NET, or a TypeName helper struct for Visual C++ component extensions (C++/CX)).

-param parameter

The navigation parameter to pass to the target page; must have a basic type (string, char, numeric, or GUID) to support parameter serialization using GetNavigationState.

-returns

false if a NavigationFailed event handler has set Handled to true; otherwise, true. See Remarks for more info.

-remarks

-examples

-see-also

Page, Navigate(Type), Navigation