Styles Explorer is project containing library for WPF baml decompilation and a tool to explorer baml resources.
by Cristian Civera AKA Ricciolo

The library is named Ricciolo.StylesExplorer.MarkupReflection and contains the class XmlBamlReader. It's an XmlReader implementation that take a baml stream and decompile it. Also it's included some classes to open assemblies and find baml resource. For example:

BamlAssembly ba = new BamlAssembly(this.GetType().Assembly);
using (XmlBamlReader reader = new XmlBamlReader(ba.BamlFiles[0].Stream))
{
    XDocument doc = XDocument.Load(reader);
}

The tool allow to open assemblies/exe and browse the baml resources and styles. For each one you can see XAML markup and a preview, if available.

Install it now! Click once installation

Screenshots

screenshot-p.png
Large image

Video demo

Video demo

Install it now! Click once installation

Last edited Nov 4, 2008 at 9:46 PM by Ricciolo, version 5