Expression Blend: Design-time support for ECO objects

The easiest way to bind to CLR objects with WPF (or Blend) is to derive a list from ObservableCollection. Furthermore, in order to get design-time support, you need to implement a constructor that fills up the list with “dummy” data that can be displayed by Blend.

Thus, I added this class to my CD cover example:

I create an ECO space, open it and retrieve 10 objects from the database. Finally, I add them to the list.

You can now easily bind to CoverDummyCollection in Blend and design your listbox or any other control having a real design-time view that gives you a clear impression of what everything will look like during run-time.