Friday, January 17, 2014

IDataErrorInfo in WPF

IDataErrorInfo
It provides the functionality to provide a custom error information that a user interface can bind to  control.It facilitates an error message indicating what is wrong with the object.
It has two properties that expose the functionality of IDataErrorInfo interface.
1.      Error-It gets an error message indicating what is wrong with the object.
2.      Item-It gets an error message for the property with the given name.
It is present in System.ComponentModel namespace.

No comments:

Copyright © Codingnodes,2014.All Rights Reserved.