How would you go about making an application that can edit it’s own look and feel?
Can tweak its own XAML files? then reload them. I’m thinking a notepad-like text editor, not a visual designer.
All the event/code would be bound right after display from an “iron” scripting language.
You can do this anyway you want, just completely abstract the display engine from all other logic including event bindings and what not. The data-format for the UI be it XAML or even an executed JavaScript blob then doesn’t matter.. what matters is the engine can provide a consistent interface for passing events back to the logic, regardless of the UI state.
To do this you could create a self modifying engine that uses an engine definition to construct an engine for self-modifying UI definitions 😛