/// <summary> /// Does the actual work of creating the dialog. Override this to create custom dialogs.</summary> /// <param name="content">The content to display</param> /// <returns>The created dialog</returns> public virtual IDialogContentHost CreateDialog(IDialogContent content) { var dialog = new CommonDialogHost(); dialog.Content = content; content.Host = dialog; return(dialog); }
/// <summary> /// Does the actual work of creating the dialog. Override this to create custom dialogs.</summary> /// <param name="content">The content to display</param> /// <returns>The created dialog</returns> public virtual IDialogContentHost CreateDialog(IDialogContent content) { var dialog = new CommonDialogHost(); dialog.Content = content; content.Host = dialog; return dialog; }