Asynchronous Validation of All Properties

As the user completes a form, individual properties are validated. To validate an entire form at once, the same approach is used; however, each property is validated, one by one, until all are validated, or until one is deemed invalid.

The IsComplete method of the DataErrorValidator attempts to validate each known property and accepts handlers that are invoked when one of the following three conditions is met:

Image completeActionThe viewmodel is complete; that is, no properties have associated data-validation errors.

incompleteActionThe viewmodel is incomplete; that is, one or more properties have an associated ...

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.