Thumbnail View Resource
Source (Muhammad Shujaat Siddiqi's Blog), posted 2010-07-18

Added By

Avatar BillHenn on 2010-07-27

  • 7600 total views
Shows how to perform data validation using a binding group.
"This post is part of series of discussions about different validation techniques in WPF. In this post we will be discussing about using Validation rules with Binding Groups. WPF allows us to group bindings in the form of a Binding Group. It allows to associate Validation rules with these binding groups. After validation is done, it provides us notification in the form of an event which can be used for notifying the user about failed validation. We can mark the controls with invalid values or notify the user in the form of a message box or whatever we want to do as a result of passed / failed validation. This event is fired as a result of both new validation error or old validation errors which are now passed because the user has entered new valid values."
Full Link

About Muhammad Shujaat Siddiqi's Blog

Muhammad Siddiqi's blog that contains useful tips and techniques regarding WPF based development, and .NET development in general.

The WPFpedia resource guide has 5 total links to this site.


There aren't any comments yet for this resource. Be the first to add one!

Add a Comment

Please log in to post comments.



Thumbnail Screenshots by Thumbshots