How to create a UI Designer?

I need to create a utility in which the user can create his own data entry screen. The user should be able to drag the conventional user interface elements ( TextBox, RadioButton, CheckBox, ListBox, ComboBoxand Image) in any container and arrange them in accordance with their needs. The user should be able to change the background and default values โ€‹โ€‹(for TextBox, ComboBoxetc.). It should be possible to save the created screen in XML / XAML, which will be used to create a dynamic user interface.

Any suggestions on how to approach this scenario are welcome.

+3
source share
2 answers

I am also working on a similar project, and we used it Canvasas a design surface; how this is done in this CodeProject article -

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

Another project based on this can be found in codeplex -

http://simulo.codeplex.com/

+2
source

What you request can be done using .Net DesignSurface , which provides a runtime infrastructure at runtime. We have already done this for WindowsForms, and we can develop a window form at runtime, create XML for the developed form, create and run an instance of the created form at runtime.

, , DesignSurface. code-Project, [ , - DesignSurface]. DesignSurface , , .

, .

+3

All Articles