The dialog workspace can be used by developers to show any view as a dialog in the application. In this first version the workspace options are limited to a dialog with an Accept and Cancel Button. In future versions these options will be expanded to offer more functionality.

Using the dialog workspace

You only need a small piece of code to show a view as a dialog. The following snippet demonstrates showing a dialog with validation logic.

ISampleView view = _container.Resolve<ISampleView>();
bool? result = DialogWorkspace.ShowView(view,() => 
    return true;

if (result == true)

Last edited Sep 5, 2008 at 8:10 AM by WMeints, version 1


No comments yet.