INavigate INavigate INavigate INavigate Interface

Definition

Defines the navigation action for navigation hosts and navigation initiators.

public : interface INavigate
public interface INavigate
Public Interface INavigate
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

This interface is mainly infrastructure. It's not expected that typical UWP app will implement this interface. Most apps would use Page and Frame for their navigation structure instead. The Visual Studio templates create this navigation structure for you both for apps/projects and for items/pages.

Methods

Navigate(TypeName) Navigate(TypeName) Navigate(TypeName) Navigate(TypeName)

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

public : Platform::Boolean Navigate(TypeName sourcePageType)
public bool Navigate(Type sourcePageType)
Public Function Navigate(sourcePageType As Type) As bool
var bool = iNavigate.navigate(sourcePageType);
Parameters
sourcePageType
TypeName Type Type Type

A type reference for the content to load.

Returns
Platform::Boolean bool bool bool

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 UWP app 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.

See Also