WPF/Silverlight Design Data without XAML

Here's a class for our sample data. That's where the data should go into.

In App.xml define your namespace:

and then:

The last step - instantiate sample data as DesignContext. You can do it in your Window, Page or whatever. I did it in MainPage.xaml in my Windows Phone 7 application:

Our sample data is bound to whole page. Use it like every other binding.