Back to Browse

How to Create and Use Validation Rules - WPF TUTORIALS

14.3K views
Jan 29, 2022
10:08

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

Download

1 formats

Video Formats

360pmp416.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How to Create and Use Validation Rules - WPF TUTORIALS | NatokHD