A prototype tool for designers and developers: converting XAML to ISM themes and back again
March 8, 2009
The Silverlight Toolkit contains implicit style management features that let you create a nice theme – buttons, checkboxes, you name it – and have it automatically applied to an application. Nearly half a year ago, I worked with Mehdi to create a rather simple, but functional, tool prototype for working with Xaml theme files and ISM-consumable implicit style definitions.
Great stuff for designers, this prototype tool enables designers to use Blend day-to-day for getting immediate feedback and excellent tooling support, while being able to round-trip themes, from Blend to ISM to Blend again.
This tool is not guaranteed to be lossless. Use it at your own risk. It will take a XAML file that Blend appreciates (details on Mehdi's blog):
- No x:Key attributes
- References to other styles by key name become fully qualified resource lookups: from ScrollViewerStyle to System.Windows.Controls.ScrollViewer
- There are some assumption about naming
- Adding explicit references to other styles