Click or drag to resize

NavigationFrameNavigate Method (Type)

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
)

Parameters

viewModelType
Type: SystemType
The type of the viewmodel to construct

Return Value

Type: TaskBoolean
true if the navigation attempt was successful; otherwise, false
Exceptions
ExceptionCondition
ArgumentNullExceptionviewModelType is null
See Also