Interface INotifyDataErrorInfo
Defines members that data entity classes can implement to provide custom synchronous and asynchronous validation support.
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll
Syntax
public interface INotifyDataErrorInfo
Properties
HasErrors
Gets a value that indicates whether the object has validation errors.
Declaration
bool HasErrors { get; }
Property Value
System.Boolean
|
Methods
GetErrors(String)
Gets the validation errors for a specified property or for the entire object.
Declaration
IEnumerable GetErrors(string propertyName)
Parameters
System.String
propertyName
Name of the property. |
Returns
System.Collections.IEnumerable
|
Events
ErrorsChanged
Occurs when the validation errors have changed for a property or for the entire object.
Declaration
event EventHandler<DataErrorsChangedEventArgs> ErrorsChanged
Event Type
System.EventHandler<DataErrorsChangedEventArgs>
|