Click or drag to resize

NavigatorSinglePageNavigateAsyncT Method (FuncTask)

Create a new ContentDialog or Flyout 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#
public Task NavigateAsync<T>(
	Func<Task> callback
)
where T : class, IDialogViewModel

Parameters

callback
Type: SystemFuncTask
A delegate that is called after the popup has been closed

Type Parameters

T
The type of the viewmodel to construct

Return Value

Type: Task

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

Implements

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