You have a flag in the class that implements IDataErrorInfo, which controls when validation is performed. DoValiation;
When the flag is false, you should report IDataErrorInfo that there are no errors (i.e. returns null, etc.).
During an intialisation view, you must set the DoValidation flag to false in your model, and then let the view do all the bindings to your data.
After the View is Loaded, you must set the DoValidation flag to true .... from this point ... data changes will cause error indicators to appear if the values are still not valid.
See this other post for more details on how to structure IDataErrorInfo code:
source
share