Chapter 24. Performing Validation

After completing this chapter, you will be able to:

  • Examine the information entered by a user to ensure that it does not violate any application or business rules.

  • Use data binding validation rules to validate information entered by a user.

  • Perform validation effectively but unobtrusively.

In the previous two chapters, you have seen how to create a Microsoft Windows Presentation Foundation (WPF) application that uses a variety of controls for data entry. You created menus to make the application easier to use. You have learned how to trap events raised by menus, forms, and controls so that your application can actually do something besides just look pretty. Although careful design of a form and the appropriate use ...

Get Microsoft® Visual C#® 2008 Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.