I wrote some code that would generate syntax coloring for xaml (and for that matter, most other XML), figured I would share it out. Some assembly required: using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; namespace