How to create an UI Designer utility?

前端 未结 2 1525
旧时难觅i
旧时难觅i 2021-01-01 04:50

I need to create an utility where user can create their own data entry screen. The user should be able to drag and drop normal UI controls (TextBox, Radio

相关标签:
2条回答
  • 2021-01-01 05:34

    What you're asking can be accomplished by the .Net DesignSurface that provides the design-time infrastructure at runtime. We have already done it for WindowsForms and we can design a windows-form at runtime, produce XML of the designed form, create and run the instance of the designed form, all at runtime.

    Surprisingly and unfortunately, there's not enough resources available on the internet on utilizing DesignSurface. I came across this Article on code-Project that can really get you started in right direction [This was the best of all I ever found on DesignSurface]. In our case, we have inherited from DesignSurface and implemented our visual-studio like runtime form designing application and it works great.

    You can refer to a similar question that I asked in past here.

    0 讨论(0)
  • 2021-01-01 05:44

    I am also working on a similar project and we have used Canvas as designer surface; as done in this CodeProject article -

    WPF Diagram Designer - Part 4 http://www.codeproject.com/KB/WPF/WPFDiagramDesigner_Part4.aspx

    One more project based on this can be found at codeplex-

    http://simulo.codeplex.com/

    0 讨论(0)
提交回复
热议问题