Skip to content

DevExpress-Examples/how-to-show-warnings-using-the-idataerrorinfo-interface-implemented-at-the-data-level-e3459

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Files to look at:

How to display notifications by implementing the IDataErrorInfo interface

Please implement the IDataErrorInfo interface on the data object. Then, pass the text and type of error in the IDataErrorInfo.Error property ( it is possible to easily parse this string). Implement a custom style for the ErrorControl. This element presents the error icon. Modify the ErrorControl style in such a way as to take into account a custom error type and text (use the converter).



Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)