Click or drag to resize

NavigatorSinglePageNavigateAsyncT Method (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<T>(
	params Object[] parameters
)
where T : IViewModel

Parameters

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.

Type Parameters

T
The type of the viewmodel to construct

Return Value

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

Implements

INavigatorNavigateAsyncT(Object)
See Also