Error Provider in WPF

David Brunelle picture David Brunelle · Nov 9, 2009 · Viewed 16.5k times · Source

I am looking at WPF componenents in the toolbox but I cannot find the error provider that is present in 2005/2008.

Is it removed?

Answer

Simon P Stevens picture Simon P Stevens · Nov 9, 2009

the ErrorProvider is a Winforms control. There is no equivalent in WPF. But you will still be able to find in in visual studio 2008 if you create a win forms project.

You might want to take a look at this article on error validation in WPF. It has some useful suggestions and ideas for how to handle validation.