BamlViewer Reflector Addin


I've been digging a bit into how themes work for a new article.  In doing that I wanted to see how WPF used their theme files.  Their theme files are stored as BAML in the PresentationUI assembly.  As usual reflector came to the rescue with a BamlViewer plugin (available as part of the ReflectorAddIn's CodePlex Project). 

I downloaded it and started to look at the generic.xaml file that WPF uses.  Unfortunately the XAML window in the add-in was hard to navigate and didn't support searching.  What I really wanted was a way to support select/copy in the XAML viewer and a way to actually save the XAML files so I could do more in depth investigating.  Since the add-in didn't support, I volunteered to add it:

BamlViewer in Action

I am not sure if the latest version that I have linked to above includes my changes yet or not.  If it doesn't, you can download the sources and they definitely have my changes. 

Now...back to that generic.xaml file...interesting...but you'll have to read my upcoming article to see what I found!

Shawn Wildermuth
Author, Teacher, and Coach

My Courses

Wilder Minds Training
Vue.js by Example
Bootstrap 4 by Example
Intro to Font Awesome 5 (Free Course)
Designing RESTful Web APIs (new)
Building an API with ASP.NET Web API
Building an API with ASP.NET Core
Building a Web App with ASP.NET Core, MVC6, EF Core, Bootstrap and Angular
Less: Getting Started

Application Name WilderBlog Environment Name Production
Application Ver v4.0.30319 Runtime Framework x86
App Path D:\home\site\wwwroot\ Runtime Version .NET Core 3.0.0
Operating System Microsoft Windows 10.0.14393 Runtime Arch X86