IDialogViewModel Interface |
Namespace: BionicCode.Utilities.Net.Framework.Wpf.Dialog
public interface IDialogViewModel : IViewModel, INotifyPropertyChanged, INotifyDataErrorInfo
The IDialogViewModel type exposes the following members.
| Name | Description | |
|---|---|---|
| DialogResult |
The DialogResult of the user interaction.
| |
| HasErrors | Gets a value that indicates whether the entity has validation errors. (Inherited from INotifyDataErrorInfo.) | |
| Message |
The message for the dialog to show to the user.
| |
| ResponseCallbackAsync |
The asynchronous callback that is invoked during the dialog interaction. Use this callback as continuation of the interrupted flow, after the required data was collected by the dialog.
| |
| SendResponseAsyncCommand |
ICommand that can be bound to the buttons of the dialog. The command parameter is a DialogResult.
| |
| Title |
The title of the dialog Window | |
| TitleBarIcon |
The icon to display in the title bar of the Window
|
| Name | Description | |
|---|---|---|
| GetErrors | Gets the validation errors for a specified property or for the entire entity. (Inherited from INotifyDataErrorInfo.) | |
| GetPropertyErrors |
Gets all error messages of the specified property. If the propertyName is null all error messages will be returned.
(Inherited from IViewModel.) | |
| PropertyHasError |
Checks whether the specified property has errors or is valid.
(Inherited from IViewModel.) |
| Name | Description | |
|---|---|---|
| ErrorsChanged | Occurs when the validation errors have changed for a property or for the entire entity. (Inherited from INotifyDataErrorInfo.) | |
| InteractionCompleted |
Event to signal that the interaction with the dialog is completed.
| |
| PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) | |
| PropertyValueChanged |
PropertyChanged implementation that sends old value and new value of the change and raises the INotifyPropertyChanged event.
(Inherited from IViewModel.) |