IViewModel Interface |
Namespace: BionicCode.Utilities.Net.Standard.ViewModel
public interface IViewModel : INotifyPropertyChanged, INotifyDataErrorInfo
The IViewModel type exposes the following members.
Name | Description | |
---|---|---|
HasErrors | Gets a value that indicates whether the entity has validation errors. (Inherited from INotifyDataErrorInfo.) |
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.
| |
PropertyHasError |
Checks whether the specified property has errors or is valid.
|
Name | Description | |
---|---|---|
ErrorsChanged | Occurs when the validation errors have changed for a property or for the entire entity. (Inherited from INotifyDataErrorInfo.) | |
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.
|