INavigate INavigate INavigate INavigate Interface
Definition
Defines the navigation action for navigation hosts and navigation initiators.
public : interface INavigatepublic interface INavigatePublic Interface INavigate// This API is not available in Javascript.
- Attributes
| 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 Windows Store 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// This API is not available in Javascript.
- sourcePageType
- TypeName Type Type Type
A type reference for the content to load.
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 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