Click or drag to resize

NavigationFrameNavigateTViewModel Method (Object, FuncTask)

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

Parameters

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

Type Parameters

TViewModel
The type of the view model to create

Return Value

Type: Task

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

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