Learn how to create and use a custom ValidationRule in a WPF application. I also discuss how validation rules compare to INotifyDataErrorInfo.
TIMESTAMPS:
0:00 - Introduction
0:22 - Demo Introduction
1:10 - Creating a ValidationRule
3:11 - Using ValidationRules
4:16 - Showing an Error Message
6:02 - Checking for Validation Errors in the UI
7:33 - ValidationRule vs. INotifyDataErrorInfo
9:44 - Conclusion
"INotifyDataErrorInfo" TUTORIAL: https://youtu.be/JZth6r2UXLU
SOURCE CODE: https://github.com/SingletonSean/wpf-tutorials/tree/master/ValidationMVVM
OTHER LINKS:
Become a Member: https://www.youtube.com/channel/UC7X9mQ_XtTYWzr9Tf_NYcIg/join
Donations: https://www.paypal.com/biz/fund?id=UBZCZWX2UVWJE