I can only speak from the experience of using the full validation framework, as I just stuck to what WPF offers.
In my project, I implemented an IDataError interface for my object / data classes, and also implemented a partial "OnValidate" method that observes Linq-To-Sql, and then as static / general members of entity classes, validations of home helpers that provide a logic diagram for implementations of the IDataError.Items and OnValidation methods.
Then this is just the case of adding ValidatesOnErrors = True, ValidatesOnExceptions = True for all the bindings described in XAML. The end result is encouraging - WPF's ability to provide visual feedback on invalid data is good, and efforts to implement validation are minimal.
I would advise following the tendency to keep the user login verification logic separate from the property setting logic. Sometimes the validity of one property depends on the state of another property. Saving the validation logic outside of property definition tools allows you to create applications in which the end user can enter two values ββthat lead to a valid state, without any individual property identifiers rejecting the values ββas they are entered.
source share