获取Silverlight应用程序的可视树(第二次尝试) [英] Getting Visual Tree of a silverlight application (second try)
问题描述
Silverlight应用程序显示在我的C#应用程序的浏览器控件的页面中.
我需要访问silverlight对象,至少要获得视觉树元素.
我怀疑Java语言和某种COM技巧是要走的路??这有意义吗?有没有一种方法可以使用WM_GETOBJECT通过其objectID来访问silverlight对象?
由于存在SilverlightSpy工具(First Floor软件提供的SL的spy ++工具),因此有人对如何实现有任何理论或简要建议吗?我真的很需要入手,三天以来我已经尝试了很多东西.
A Silverlight application is displayed in a page of a browser control in my C# application.
I need to access to the silverlight Object to at least get the visual tree elements.
I suspect that Javascript and a kind of COM trick is the way to go?? is this make sense? Is there a way to use WM_GETOBJECT to get access to silverlight object using its objectID?
Since a SilverlightSpy tool exists (a spy++ tool for SL from First Floor software) is anybody has a theory or a brief ideas about how this could be done? I REALLY REALLY need something to start with, I have already tried many things since 3 days.
Thanks!
推荐答案
请将此问题发布到SL论坛上
please post this question on the SL forums
http://forums.silverlight.net/forums/
这篇关于获取Silverlight应用程序的可视树(第二次尝试)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!