Validating with Regular Expressions

I just posted an article to the CodeProject which shows how to validate a TextBox using regular expressions. The solution involves a ValidationRule-derived class and a "service provider" class. It makes it very, very easy to validate a TextBox with a regular expression. If you are interested, here's the link:http://www.codeproject.com/useritems/RegexValidationInWPF.asp

If you have any comments or questions, please feel free to post a message at the bottom of the article. :)

[649 byte] By [JoshSmith] at [2007-12-24]

Visual Studio Orcas

Site Classified