Click or drag to resize

NavigatorSinglePageNavigateAsync Method (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.

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 Task<bool> NavigateAsync(
	Type viewModelType,
	params Object[] parameters
)

Parameters

viewModelType
Type: SystemType
The type of the viewmodel to construct
parameters
Type: SystemObject
The navigation parameter to pass to the target view model; must have a basic type (string, char, numeric, or GUID) to support parameter serialization.

Return Value

Type: TaskBoolean
true if the navigation attempt was successful; otherwise, false

Implements

INavigatorNavigateAsync(Type, Object)
See Also