Validation of WPF User Input using MVVM and Entity Framework 4.0
Posted
by Emad
on Stack Overflow
See other posts from Stack Overflow
or by Emad
Published on 2010-05-15T08:52:37Z
Indexed on
2010/05/15
8:54 UTC
Read the original article
Hit count: 866
I am building a WPF 4.0 Application using MVVM. The Model is generated using Entity Framework 4.0. I am using Data binding on the WPF to bind the user input to model properties.
What is the easiest way to validate user input ? I prefer an approach where I can set the validation rules on the Model rather than on the WPF itself. How can this be done? Any samples are appreciated.
© Stack Overflow or respective owner