是否有 Silverlight Visualizer 用于查看 ItemsControl 的子项?
我正在尝试调试我正在编写的 Silverlight 应用程序的可视化树,但在使用特定 ItemsControl 时遇到了问题。
是否有某种调试器/可视化器可以用来检查 ItemsControl 的每个子项?
我现在在 xaml 页面的代码隐藏中使用 Visual Studio,但我无法检查 ItemsControl 的每个项目在运行时的呈现方式。是否有我可以在监视窗口中检查的属性(例如“儿童”)?我有 Silverlight 5 和 Visual Studio 2010。
I am trying to debug the visual tree of a Silverlight app I am writing and I am having trouble with a specific ItemsControl.
Is there some sort of Debugger/Visualizer that I can use to inspect each child of the ItemsControl?
I am using Visual Studio in the code-behind of my xaml page right now, but I cannot inspect how each item of my ItemsControl is rendered at runtime. Is there a property (like Children) that I can inspect in my watch window? I have Silverlight 5 and Visual Studio 2010.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否尝试过Silverlight Spy?
Have you tried Silverlight Spy?
这是一个使用 LocalMessageReceiver/Sender 的示例项目,
它将可视化树转储到单独的应用程序中。
http://blog.aschommer.de/post/SilverDebugView.aspx
Here's a sample project that uses LocalMessageReceiver/Sender
It dumps the Visual Tree into a separate application.
http://blog.aschommer.de/post/SilverDebugView.aspx