创建一个UI设计器 [英] Creating a UI Designer
问题描述
我想使用Silverlight,WPF或WinForms为自定义系统创建UI设计器.解决此问题的最佳方法是什么?
I'd like to create a UI designer using Silverlight, WPF, or WinForms for a custom system. What's the best way to go around this?
我应该注意哪些名称空间,SDK等?
What namespaces, sdks, etc should I be aware of?
推荐答案
我也在从事类似的项目,我们使用画布作为设计器表面.如本CodeProject文章所述-
I am also working on a similar project and we have used canvas as designer surface; as done in this CodeProject article -
WPF图设计器-第4部分 http://www.codeproject.com/KB/WPF/WPFDiagramDesigner_Part4.aspx
基于此的另一个项目可以在codeplex-
One more project based on this can be found at codeplex-
另一个选择是使用 .Net DesignSurface ,它在运行时提供了设计时基础结构,如本问题所述-
One more option is to use .Net DesignSurface that provides the design-time infrastructure at runtime as mentioned in this question -
链接不起作用,指向代码项目文章的正确链接是-
Link there is not working, correct link to code project article is -
http://www.codeproject.com/KB/miscctrl/DesignSurfaceManager_Ext.aspx
在此处中提到的另一种方法是使用Visual Studio Shell(VS 2010),但我不确定它的用处.
One more approach mentioned here is to use Visual Studio Shell(VS 2010), but I am not sure how useful it is.
这篇关于创建一个UI设计器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!