Click or drag to resize

NavigationFrameNavigateTViewModel, TResult Method (Object, FuncTResult, Task)

Create a new ContentDialog or Flyout with the view defined by the view model, depending on the views definition.

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 Navigate<TViewModel, TResult>(
	Object[] arguments,
	Func<TResult, Task> callback
)
where TViewModel : class, Object, IDialogViewModel<TResult>

Parameters

arguments
Type: SystemObject
The parameters used to construct the view model
callback
Type: SystemFuncTResult, Task
A delegate that is invoked when the dialog is closed

Type Parameters

TViewModel
The type of the view model to create
TResult
The result of the dialog

Return Value

Type: Task

[Missing <returns> documentation for "M:Cauldron.XAML.Controls.NavigationFrame.Navigate``2(System.Object[],System.Func{``1,System.Threading.Tasks.Task})"]

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