是否有一个属性对话框控件,我可以在我的WPF应用程序使用? [英] Is there a Property Dialog control that i can use in my WPF App?

查看:219
本文介绍了是否有一个属性对话框控件,我可以在我的WPF应用程序使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立使用WPF应用程序,这将是不爽,意设计师,用户可以拖放自定义用户界面元素融入到一个画布,并能够通过属性来配置自己的行为。

I'm building an application using WPF that will be a designer of sorts, meaning, a user can drag and drop custom UI elements into a canvas and be able to configure their behavior via properties.

(想想这就像一个特定领域的PowerPoint文件。你可以添加元素到presentation,配置元素的属性,然后最终你可以运行幻灯片放映和这些元素将根据其属性的行为)

(Think of this like a domain specific PowerPoint. You can add elements to the presentation, configure the elements' properties and then eventually you can run the "slideshow" and those elements will behave according to their properties)

因此​​,在我的应用程序,什么是显示和配置元素的属性的最佳方式?是否有一个属性对话框控件可以使用吗? (一个类似于在Visual Studio的控件)

So in my app, what is the best way of showing and configuring an element's properties? Is there a Property Dialog control I can use? (similar to the one in Visual Studio for controls)

推荐答案

可悲的是没有属性网格控制在WPF。要么你将不得不使用的WinForms属性网格或一个可用的开源社区或第三方供应商购买。您有如下选项可供选择 -

Sadly there is no Property Grid control in WPF. Either you will have to use WinForms property grid or one available in open source community or buy from 3rd party vendors. You have following options to choose from -

开源 -

WPF属性网格:    HTTP://wpg.$c$cplex.com/

WPF Property Grid: http://wpg.codeplex.com/

PropertyTools(previously称为属性编辑)为WPF:    HTTP://propertytools.$c$cplex.com/

PropertyTools (previously called PropertyEditor) for WPF: http://propertytools.codeplex.com/

扩展WPF工具包的PropertyGrid:   <一href="http://wpftoolkit.$c$cplex.com/wikipage?title=PropertyGrid">http://wpftoolkit.$c$cplex.com/wikipage?title=PropertyGrid

Extended WPF Toolkit PropertyGrid: http://wpftoolkit.codeplex.com/wikipage?title=PropertyGrid

本机WPF 4的PropertyGrid   <一href="http://www.$c$cproject.com/Articles/87715/Native-WPF-4-PropertyGrid">http://www.$c$cproject.com/Articles/87715/Native-WPF-4-PropertyGrid

Native WPF 4 PropertyGrid http://www.codeproject.com/Articles/87715/Native-WPF-4-PropertyGrid

WPF的PropertyGrid - MVVM技术:   <一href="http://www.$c$cproject.com/KB/WPF/PropertyGridMVVM.aspx">http://www.$c$cproject.com/KB/WPF/PropertyGridMVVM.aspx

WPF PropertyGrid - MVVM techniques: http://www.codeproject.com/KB/WPF/PropertyGridMVVM.aspx

如果您正在使用.NET 4.0中,你可以使用WWF的Pr​​opertyInspectorView控制,属性网格在WPF。正如解释在这篇文章中 - <一个href="http://www.$c$cproject.com/KB/grid/WpfPropertyGrid.aspx">http://www.$c$cproject.com/KB/grid/WpfPropertyGrid.aspx

In case you are working on .Net 4.0 you can use WWF's PropertyInspectorView control as property grid in WPF. As explained in this article - http://www.codeproject.com/KB/grid/WpfPropertyGrid.aspx

第三方:

Actipro:   <一href="http://www.actiprosoftware.com/products/controls/wpf/propertygrid">http://www.actiprosoftware.com/products/controls/wpf/propertygrid

Actipro: http://www.actiprosoftware.com/products/controls/wpf/propertygrid

ComponentOne的:   <一href="http://www.componentone.com/SuperProducts/PropertyGridWPF/">http://www.componentone.com/SuperProducts/PropertyGridWPF/

ComponentOne: http://www.componentone.com/SuperProducts/PropertyGridWPF/

思维空间:   <一href="http://www.mindscape.co.nz/products/WPFPropertygrid/">http://www.mindscape.co.nz/products/WPFPropertygrid/

如果你想建立自己的PG,看看这些文章 -

In Case you want to build your own PG, have a look at these articles -

(非常)简单的WPF的PropertyGrid 20   分钟: http://blog.joachim.at/?p=36

(Very) simple WPF PropertyGrid in 20 minutes: http://blog.joachim.at/?p=36

您自己的一两个小时的PropertyGrid:   <一href="http://dvuyka.spaces.live.com/blog/cns!305B02907E9BE19A!448.entry">http://dvuyka.spaces.live.com/blog/cns!305B02907E9BE19A!448.entry

Your own PropertyGrid in a couple of hours: http://dvuyka.spaces.live.com/blog/cns!305B02907E9BE19A!448.entry

这篇关于是否有一个属性对话框控件,我可以在我的WPF应用程序使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆