Property Setter Validation Limitations

Although the Silverlight 3 property setter validation system is simple and easy to use, it has two significant limitations: mutually dependent property validation is cumbersome, and there is no support for asynchronous validation.

The Silverlight 3 property setter validation system allows you to validate one property at a time. Some properties, however, may be mutually dependent, with the value of one property altering the validity of another property.

One approach to solving this problem, while still using the property setter validation system, is to use a set of shadow properties that perform composite semantic validation. This approach, however, falls short because it adds undue complexity and often leads ...

Get Windows® Phone 8 Unleashed 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.