Click or drag to resize

INavigator Interface

Represents a class that handles the creation of a new Window (Desktop) or Page (UWP) and association of the viewmodel
Represents a class that handles the creation of a new Window (Desktop) or Page (UWP) and association of the viewmodel

Namespace:  Cauldron.XAML.Navigation
Assembly:  Cauldron.Win32.WPF (in Cauldron.Win32.WPF.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public interface INavigator

The INavigator type exposes the following members.

Properties
  NameDescription
Public propertyCanGoBack
Gets a value that indicates whether there is at least one entry in back navigation history.

Only relevant for UWP and Desktop single page application

Public propertyCanGoForward
Gets a value that indicates whether there is at least one entry in forward navigation history.

Only relevant for UWP and Desktop single page application

Top
Methods
  NameDescription
Public methodGoBack
Navigates to the most recent item in back navigation history, if a Frame manages its own navigation history.

Only relevant for UWP and Desktop single page application

Public methodGoForward
Navigates to the most recent item in forward navigation history, if a Frame manages its own navigation history.

Only relevant for UWP and Desktop single page application

Public methodNavigateAsync(Type)
Causes the window or page to load content represented by the specified IViewModel.
Public methodNavigateAsync(Type, Object)
Causes the window or page to load content represented by the specified IViewModel, also passing a parameter to be used to construct the view model.
Public methodNavigateAsyncT
Causes the window or page to load content represented by the specified IViewModel.
Public methodNavigateAsyncT(FuncTask)
Create a new popup with the view defined by the view model, depending on the views definition.
Public methodNavigateAsyncT(Object)
Causes the window or page to load content represented by the specified IViewModel, also passing a parameter to be used to construct the view model.
Public methodNavigateAsyncT(FuncTask, Object)
Create a new popup with the view defined by the view model, depending on the views definition, also passing a parameter to be used to construct the view model.
Public methodNavigateAsyncT, TResult(FuncTResult, Task)
Create a new popup with the view defined by the view model, depending on the views definition.
Public methodNavigateAsyncT, TResult(FuncTResult, Task, Object)
Create a new popup with the view defined by the view model, depending on the views definition, also passing a parameter to be used to construct the view model.
Public methodTryClose
Tries to close a view model associated popup
Public methodTryCloseFocusedWindow
Closes the current focused Window.
Top
See Also