IDataErrorInfo.Error Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a message that describes any validation errors for the object.
Assembly: System.Windows (in System.Windows.dll)
Property Value
Type: System.StringThe validation error on the object; or Nothing or Empty, if no errors are present.
Use the Error property to get a single validation error message for the entire object. This message can represent multiple errors. If you want to represent multiple errors with individual messages, implement the INotifyDataErrorInfo interface instead.
For an example of an implementation of this property, see the IDataErrorInfo class overview.