I am using Prism 8 WPF and I can't find a way to open a NON-modal dialog. All the dialogs in Prism seem to be modal.
You can use the Show
method of IDialogService
for non-modal dialogs.
/// <summary>
/// Shows a non-modal dialog.
/// </summary>
/// <param name="name">The name of the dialog to show.</param>
/// <param name="parameters">The parameters to pass to the dialog.</param>
/// <param name="callback">The action to perform when the dialog is closed.</param>
public void Show(string name, IDialogParameters parameters, Action<IDialogResult> callback)
The alternative for showing a modal dialog is the ShowDialog
method. See Dialog Service in the Prism documentation for details how to implement a dialog and use the IDialogService
.