Chapter 24. Performing Validation

After completing this chapter, you will be able to:

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

  • Bind properties of one control on a form to properties of other controls.

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

  • Perform validation effectively but unobtrusively.

In the previous two chapters, you saw 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 learned how to trap events raised by menus, forms, and controls so that your application can actually do something besides just look pretty. ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.