Click here to Skip to main content
15,896,111 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Is there any tool similar to error provider in wpf using vb?
Posted
Comments
Sergey Alexandrovich Kryukov 11-May-15 10:54am    
Similar to which "error provider"? Do you mean the one for forms: https://msdn.microsoft.com/en-us/library/system.windows.forms.errorprovider%28v=vs.110%29.aspx?
Even in forms, it has limited use...
—SA

1 solution

Do you mean something like System.Windows.Forms.ErrorProvider:
https://msdn.microsoft.com/en-us/library/system.windows.forms.errorprovider%28v=vs.110%29.aspx[^]?

First of all, look at this: http://errorprovidersforwpf.codeplex.com[^].

(Take a look at this CodeProject articles, not of good reputation though:
An Error Provider for Windows Presentation Foundation[^],
Wpf ErrorProvider - Integrating IDataErrorInfo, WPF, and the Validation Application Block (VAB)[^].)
I think this concept itself is very limited. In many cases, you can decide if the state of control is valid only if you consider a set of controls taken together. In many cases, it makes sense to validate the set of control only at the moment when the user is about to use the controls' data, such as at the click of some button like "Submit", "Perform".

See also this article on validation in WPF: Validation in Windows Presentation Foundation[^].

—SA
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900