Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error Provider in WPF

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?

like image 716
David Brunelle Avatar asked Nov 09 '09 13:11

David Brunelle


2 Answers

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.

like image 147
Simon P Stevens Avatar answered Nov 11 '22 03:11

Simon P Stevens


.NET 3.5 added WPF support for IDataErrorInfo: Data validation in .NET 3.5.

like image 3
Judah Gabriel Himango Avatar answered Nov 11 '22 03:11

Judah Gabriel Himango