Skip to content

Validates user input and indicates errors. Implements IDataErrorInfo to display error/warning icons and relevant hints in the DevExpress Text Editor.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/wpf-editors-validate-user-input-indicate-errors-idataerrorinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Files to look at:

WPF Editors - Indicate errors and warnings by implementing IDataErrorInfo

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)

About

Validates user input and indicates errors. Implements IDataErrorInfo to display error/warning icons and relevant hints in the DevExpress Text Editor.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •