Table of Contents

Class DialogViewModelBase

Namespace
EasySoftware.MvvmMini
Assembly
EasySoftware.MvvmMini.dll

Base class for view models whose view is shown as a modal dialog window.

public abstract class DialogViewModelBase : WindowViewModelBase, IDialogViewModel, IWindowViewModel, IClosableViewModel, IViewModel, IModel, INotifyPropertyChanged, INotifyDataErrorInfo, IErrorContainer
Inheritance
DialogViewModelBase
Implements
Derived
Inherited Members

Constructors

DialogViewModelBase(IViewAdapter)

Initializes a new instance of the DialogViewModelBase class.

protected DialogViewModelBase(IViewAdapter viewAdapter)

Parameters

viewAdapter IViewAdapter

The adapter of the dialog window that belongs to this view model.

Methods

ShowDialog()

Shows the view as a modal dialog and returns when the dialog is closed.

public void ShowDialog()