在 VS XAML 编辑器中查看数据绑定列表控件的技巧
当 ItemSource 属性进行数据绑定时,是否有任何方法可以查看控件在 XAML 设计器中的外观?我想在不实际运行应用程序的情况下以某种方式看看它在设计器中的样子。
Is there any way to see what a control will look like in the XAML designer when it's ItemSource property is databound? I want to see what it looks like in the designer somehow without actually running the application.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是 Karl Shifflett 撰写的一篇好文章,解释了如何显示设计时数据:
http://karlshifflett.wordpress.com/2008/10/11/viewing-design-time-data-in-visual-studio-2008-cider-designer-in-wpf-and -silverlight-projects/
WPF 4 将提供设计时数据的本机支持
Here's a good article by Karl Shifflett that explains how to display design-time data :
http://karlshifflett.wordpress.com/2008/10/11/viewing-design-time-data-in-visual-studio-2008-cider-designer-in-wpf-and-silverlight-projects/
WPF 4 will come with native support of design-time data