ControlTemplate for existing controls in WPF

.net, controltemplate, wpf

Solution

The styles along with template examples are up on MSDN for download, see the `Default WPF Themes` link.

However you can also extend the existing style without redefining everything by using the `BasedOn` attribute.

Problem

How to get existing control's ControlTemplate in WPF in XAML format (visual tree)? This is to help to create new ControlTemplate with the help of existing template.

Original source