MartyIX
MartyIX

Reputation: 28648

How to compile XAML into C#?

is there a way how to see XAML compiled into C#? It would be really useful because I would not have to look for "how to do something in WPF programatically".

Thanks!

Upvotes: 2

Views: 574

Answers (2)

Contango
Contango

Reputation: 80192

Found the perfect solution: XAML Code Behind Generator, see http://xamlgenerator.codeplex.com/.

Its a plugin for Visual Studio 2010 that allows you to compile XAML into the equivalent C#.

Upvotes: 0

Polaris
Polaris

Reputation: 3793

I use XAMLT tool for this. It's XAML To C# converter. It is very useful if you newbie in XAML. It help you understand how to get the same things which you do in XAML in C#

This is a link to the soft: http://www.xamlt.com/

Upvotes: 9

Related Questions