Click or drag to resize

NavigationFrameNavigate Method (Type, Object)

Causes the NavigationFrame to load content represented by the specified IViewModel, also passing a parameter to be used to construct the view model.

Namespace:  Cauldron.XAML.Controls
Assembly:  Cauldron.Win32.WPF (in Cauldron.Win32.WPF.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public Task<bool> Navigate(
	Type viewModelType,
	params Object[] arguments
)

Parameters

viewModelType
Type: SystemType
The type of the viewmodel to construct
arguments
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
Exceptions
ExceptionCondition
ArgumentNullExceptionviewModelType is null
See Also