Design-Time Data
One of the most challenging aspects of working with WPF and other UI technologies such as Silverlight, Windows Forms, and ASP.NET is getting a preview of how the data will appear at runtime by the application. Well, if you draw a set of predefined UI controls in a panel, such as TextBox and Label controls, the final result will be pretty obvious, but as soon as you start to work with templates and custom visual styles, the task will became more challenging.
Expression Blend has a feature called blendability and that allows you to create a custom DataContext, specifically a design DataContext, which reflects the real data but can be displayed by Blend or Visual Studio while you are designing your UI so that you can view right ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access