Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I convert objects created in Microsoft Expression and saved as xaml files to cs format so that they can be added as objects in my visual studio toolbox

What I have tried:

stuck at this point

How can I convert objects created in Microsoft Expression and saved as xaml files to cs format so that they can be added as objects in my visual studio toolbox
Posted
Updated 10-Jun-18 5:17am

You're getting ahead of yourself.

Any XAML "user controls" (created in Blend or VS) will "automatically" show up on the toolbox if they are in scope (project folders and / or class libraries).
 
Share this answer
 
I am not aware of any automated converter, so as far as I know, your best bet is to simply create WPF class libraries that contain your controls in their XAML form. I do it all the time.

I can't think of any tangible benefit to putting converting XAML to C#...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900