Hi Paul & guys,

I'm trying to make a MicroModel blendable, i.e. have a nice blend experience 
with some mock data and can't get it to work. My approach is to inherit from 
the actual view model with say a FooDesignTimeViewModel and populate it with 
some mock data. Then in xaml I use an ObjectDataProvider and the 
"d:DataContext" attribute to load it up at design time.

However, I hit a brick wall in that when Blend calls the 
ModelTypeDescriptionProvider's GetTypeDescriptor method, the passed in 
"instance" is NULL. Is there some rule about type descriptors not working at 
design-time in blend or am I doing something wrong?

Thanks,
Adrian
_______________________________________________
ozwpf mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozwpf

Reply via email to