tags:

views:

166

answers:

2

Is there documentation/utility that shows the default control template of a given control? I'd like to see how a given control is constructed so I can customize the behavior correctly and/or choose to use a style instead...

+1  A: 

Here are a number of links that demonstrate doing this.

I would also check out Kaxaml, which comes with some code snippets called Simple Styles. These are templates for all of the controls that are not quite as complex as the default behavior, which can be a bit esoteric at times.

Charlie
Kaxaml is awesome for prototyping, but it won't show you the default template for a control.
Drew Noakes
None of these links (of the two that are still working) will show you the default control template unless you write some code first. So far StyleSnooper and ShowMeTheTemplate are the only tools I've found that don't require writing code to see the templates. However, SMTT seems to be missing a bunch of controls. Anyone know if Visual Studio 2010 makes this easier? Or Expression Blend?
skypecakes
+1  A: 
Drew Noakes