Skip to content

IDialogService interface

Shows application dialogs from view model code, so that a view model can ask the user a question without referencing any window type. The view that hosts the view model is located through ViewLocatorAttribute, and the owner window is chosen by the implementation.

public interface IDialogService

Members

name description
ShowDialog<T>(…) Shows the view model in a modal dialog and returns once the user closes it.

See Also