Click or drag to resize

INavigatorNavigateAsyncT, TResult Method (FuncTResult, Task)

Create a new popup with the view defined by the view model, depending on the views definition.

Namespace:  Cauldron.XAML.Navigation
Assembly:  Cauldron.Win32.WPF (in Cauldron.Win32.WPF.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
Task NavigateAsync<T, TResult>(
	Func<TResult, Task> callback
)
where T : class, Object, IDialogViewModel<TResult>

Parameters

callback
Type: SystemFuncTResult, Task
A delegate that is called after the popup has been closed

Type Parameters

T
The type of the viewmodel to construct
TResult
The result type of the dialog

Return Value

Type: Task

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

.NET Framework Security
PermissionDescription
SystemNotSupportedExceptionThe is already an open ContentDialog. Multiple ContentDialogs are not supported
See Also