INavigate.Navigate method

Applies to Windows and Windows Phone

Causes the navigation host to load content that is specified by a type reference.

Syntax


bool Navigate(
  Type sourcePageType
)

Parameters

sourcePageType

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

A type reference for the content to load.

Return value

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

true if the navigation host can navigate according to its settings; otherwise, false.

Remarks

The INavigate interface is mainly infrastructure. It's not expected that typical Windows Store apps will implement this interface.

Important  

If you are programming using a Microsoft .NET language (C# or Microsoft Visual Basic), the TypeName type projects as System.Type.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

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

Metadata

Windows.winmd

See also

Frame.Navigate
INavigate
HyperlinkButton
System.Type

 

 

Show:
© 2014 Microsoft