Can Visual Studio generate C # code instead of XAML?

advertisements

I love XAML and everything, but how can I make Visual Studio generate C# code instead?

This is for learning purposes, just to see how the compiler translates from XAML to C#.

Thank you!


I have written this tool which generates equivalent c# code for the xaml provided.

http://xamlgenerator.codeplex.com/