Where to find WPF Classic Theme as XAML?

I am creating some user controls in WPF and therefore must create default control templates for them. To help in this process, I would like to see XAML control templates for inline controls as a reference.

I can open the PresentationFramework.Class DLL in .NET Reflector but cannot find anything inside it. It seems to have only BAML, but not the original XAML.

Is it available somewhere on the Internet? Or is there a tool that can extract it?

+3
source share
4 answers

If you have Expression Blend, several themes, including classic.xaml, can be found in

C:\Program Files\Microsoft Expression\Blend 3\SystemThemes\Wpf

+9

BAML to XAML Viewer Reflector BAML, XAML, .

+3

Check out StyleSnooper . It allows you to select any of the built-in controls and unload the default xaml style.

(You can also do this from Expression Blend, if you have one.)

+2
source

Source: https://habr.com/ru/post/1718175/


All Articles