// Arrange Act Assert

Jag Reehal on Agile Development, ASP.NET MVC, Silverlight and all manner of good stuff


How to use DesignData to populate controls with design time data in Silverlight and WPF

In this post I’ll be showing how you can use DesignData to populate controls when you’re designing Silverlight or WPF applications in Expression Blend or Visual Studio. The image below shows a user control in Expression Blend which allows users take part in a poll to find out what their favorite colors of the rainbow [...]

How design time data will save you time designing Silverlight and WPF applications

When it comes to designing applications it’s definitely a lot easier when you can visualize what you’re creating without actually running the solution. So why should it be any different for Silverlight and WPF? If you just want to know how you can populate controls during design time the links below show three (of the [...]

How to use a DesignInstance to populate controls with design time data in Silverlight and WPF

In this post I’ll be showing how you can use a DesignInstance to populate controls when you’re designing Silverlight or WPF applications in Expression Blend or Visual Studio. The image below shows a user control in Expression Blend which allows users take part in a poll to find out what their favorite colors of the [...]

How to use the DesignerProperties.GetIsInDesignMode method to populate controls with design time data in WPF using Expression Blend

In this post I’ll be showing how you can use the DesignerProperties.GetIsInDesignMode method to populate controls when you’re designing WPF applications in Expression Blend. This solution does not work in Visual Studio 2010. To find out about what options do work in Visual Studio check out the following posts: How to use a designinstance to [...]

Using IDataErrorInfo for validation in MVVM with Silverlight and WPF

In this post we will be looking at how validation can be done by implementing the IDataErrorInfo interface for a calculator we have been building as part of the Silverlight refactoring series. The IDataErrorInfo interface gives you the ability to do validation without throwing exceptions. The full solution for this post can be downloaded here. [...]

keep looking »