O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

This chapter began by defining the two types of input validation: syntactic and semantic. Syntactic validation ensures that user input has the correct format and can be converted to the correct type, whereas semantic validation may entail more complex validation, such as the evaluation of business rules.

This chapter then looked at the Silverlight 3 property setter validation system, which is included in the Windows Phone SDK. You saw how this system relies on the raising of exceptions to indicate validation errors. Noncritical exceptions raised in property setters produce binding errors, which signal validation errors.

You saw how Windows Phone requires custom templates for enabling visualization of input validation errors, and you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required