Ok, so here's what I want to do.
Create a "configuration file" using XAML 2009. It would look something like this:
<TM:Configuration xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:tm="clr-namespace:Test.Monkey;assembly=Test.Monkey" > <TM:Configuration.TargetFile>xxxx</TM:Configuration.TargetFile> <TM:Configuration
Parse this file at runtime in order to get the object-graph.
Easy way:
Hard way, but with less dependencies:
Creating XAML from object graph:
Notes: