Click or drag to resize

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

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 NavigateAsync<T>(
	Func<Task> callback,
	params Object[] parameters
)
where T : class, IDialogViewModel

Parameters

callback
Type: SystemFuncTask
A delegate that is called after the popup has been closed
parameters
Type: SystemObject
The navigation parameter to pass to the target view model.

Type Parameters

T
The type of the viewmodel to construct

Return Value

Type: Task

[Missing <returns> documentation for "M:Cauldron.XAML.Navigation.Navigator.NavigateAsync``1(System.Func{System.Threading.Tasks.Task},System.Object[])"]

Implements

INavigatorNavigateAsyncT(FuncTask, Object)
.NET Framework Security
PermissionDescription
SystemNotSupportedException The is already an open ContentDialog. Multiple ContentDialogs are not supported
See Also