In the fifth part of his series on Templates and DataValidation, Jesse Liberty is creating an application that demonstrates how to modify the Visual State for invalid data.
In this first approach, we’ll create the MVVM project as well as the editing form and we’ll populate it with data from an object. To get started, open Expression Blend 4 (or Visual Studio 2010) and select MvvmLight (SL4) Name the project Validation and make sure Language is set to C# (or VB if you are transposing) and the Version is set to 4.0. Click OK.
Jesse's previous posts you can find here:
- Visual State Manager A-Z
- Styles (followup)
- Templates, Visual State and Fun With Controls
- Teaching An Old Control New Tricks With Templates