Click here to Skip to main content
14,977,402 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Guys,

We are looking to edit XAML forms at runtime. It facilitate users to add controls or change the place of the controls on form at run time as per his desire.

Is there anyway to do this?

Thanks in advance and appreciate your reply.

Regards,
Vikas

What I have tried:

Have google but didnt find appropriate solution on the same.
Posted
Comments
Richard MacCutchan 16-Jun-21 8:49am
   
I do not think that will work, since the XAML is processed by the compiler and turned into MSIL code. There ways to do what you want by providing the code to create and design controls at runtime.
Gerry Schmitz 16-Jun-21 14:41pm
   
Even if users could create controls, the whole concept of binding and models would be lost on them. Users would need to become programmers.

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