To view the default style/control templates for built-in WPF controls, StyleSnooper is an invaluable tool.
However I can't seem 开发者_如何学Goto find a version that works for Silverlight controls.
Does such a tool exist, or do I just need to do something different with StyleSnooper?
It's not a tool, but all default styles and templates are available in the Silverlight documentation. http://msdn.microsoft.com/en-us/library/cc278075(v=vs.95).aspx
If I need a controls default style, I normally use Blend to generate it for me. Also, you can view styles of controls using SilverlightSpy.
精彩评论