是否有 Silverlight Visualizer 用于查看 ItemsControl 的子项?

发布于 2025-01-06 07:47:51 字数 261 浏览 3 评论 0原文

我正在尝试调试我正在编写的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

玩物 2025-01-13 07:47:51

您是否尝试过Silverlight Spy

Have you tried Silverlight Spy?

故事还在继续 2025-01-13 07:47:51

这是一个使用 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文