Blend不会为VM生成示例数据。 [英] Blend doesn't generate sample data for VM.

查看:66
本文介绍了Blend不会为VM生成示例数据。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Blend 4中,我正在尝试从我的VM类生成示例数据源。该类有一个属性,它返回一个接口的observablecollection
和另一个带有observablecollection类的属性。生成样本数据源时,Blend会为类属性生成数据,但不会为接口生成数据。有没有解决的办法?我的代码绝对需要有接口,
但同时我希望能够看到为设计时生成的样本数据。

解决方案

< blockquote>

你好,



我很高兴 看到你的问题,类似的解决方案就是我在博客上发布的博客,这可能会帮助你做很多事情


这是我的博客,



http://www.expression-blend.com


http://blog.procesium.us


我希望它帮助你!



问候,


In Blend 4, i am trying to generate sample data source from my VM class. The class has a property that returns observablecollection of an interface and another property with observablecollection of a class. When generating sample data source, Blend generates data for the class property but not the interface. Is there a way around this? My code absolutely requires to have the interface, but at the same i want to able to see the sample data generated for design time.

解决方案

Hello ,

I am glad to  see your question, similar solution is what I have blogged on my blog and that might help you a lot in doing very stuff

Here is my blog,

http://www.expression-blend.com

http://blog.procesium.us

I hope it helps you out !

Regards,


这篇关于Blend不会为VM生成示例数据。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆