Class ValidationPropertyChangedBase
- Namespace
- H.Extensions.Validation
- Assembly
- H.Extensions.Validation.dll
public abstract class ValidationPropertyChangedBase : BindableBase, INotifyPropertyChanged, IDataErrorInfo
- Inheritance
-
ValidationPropertyChangedBase
- Implements
- Inherited Members
- Extension Methods
Properties
Error
Gets an error message indicating what is wrong with this object.
[Browsable(false)]
public string Error { get; }
Property Value
- string
An error message indicating what is wrong with this object. The default is an empty string ("").
this[string]
Gets the error message for the property with the given name.
[Browsable(false)]
public string this[string columnName] { get; }
Parameters
columnName
stringThe name of the property whose error message to get.
Property Value
- string
The error message for the property. The default is an empty string ("").
Methods
GetErrorMessage()
public List<string> GetErrorMessage()
Returns
IsValid()
public bool IsValid()