关于 WPF 对接库的建议
我们正在实现一个需要可停靠窗口的应用程序,类似于 Visual Studio 2005/2008,但具有多个“停靠站点”,与 VS 的单个停靠站点不同。 有没有人推荐一个好的库(OSS 或商业库)? 我知道 Infragistics 有一个,还有 DevComponents 的 Divelement 的 SandDock 和 WPF-Dock,以及 ActiPro 的 Docking & Docking。 MDI产品。 CodeProject 上也有一个。 有人使用过这些库吗? 体验是好是坏? 如果您有使用其中之一的经验,它是否支持多个“对接站点”?
We are implementing an application that needs dockable windows, similar to Visual Studio 2005/2008, but with multiple "docking sites", unlike VS's single one. Does anyone have a recommendation on a good library for this - either OSS or commercial? I am aware that Infragistics has one, as well as Divelement's SandDock and WPF-Dock from DevComponents, as well as ActiPro's Docking & MDI product. There is also one on CodeProject. Has anyone used any of these libraries? Was the experience good or bad? If you have experience with one of them, does it support multiple "docking sites"?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
来自 Codeproject 的一个是 AvalonDock - 我们已经使用它半年多了,但我们距离发布还很远,所以我们有灵活性。 在最终选择 AvalonDock 之前,我们尝试过 Infragistix、ActiPro、SandDock 以及可能还有其他一些。
尽管 AvalonDock 并非 100% 无错误(那么什么是?),但没有重大错误; 它非常稳定、快速并且具有所有功能。 它确实支持多个对接站点。
它是一个开源项目,正在积极开发中,因此正在发现并修复错误。 到目前为止,体验很好。
The one from Codeproject is the AvalonDock - we use it for more then half a year now, but we're far from release yet so we have the flexibility. Before ending up with AvalonDock we tried Infragistix, ActiPro, SandDock and may be some others.
Even though AvalonDock is not 100% bug free (well what is?) there are no major bugs; it is very stable, fast and has all the functionality. It does support multiple docking sites.
Its an open source project and is in active development, so bugs are beeing found and fixed. Good experience so far.
我已经使用 ActiPro 库几个月了,它对我很有帮助。 它确实支持多个对接站点。 支持非常出色,并且您可以获得 WPF 中缺少的一些其他控件(日期选择器等)。 对我来说,150 美元花得值。 它开箱即用,没有大惊小怪。
我们过去对 WinForm 控件使用 Divelements,但我们认为 Actipro 有更好的支持,因此我们改用 WPF。
只是我的两分钱。
I've been using the ActiPro library for several months and it's done me well. It does support multiple docking sites. The support is outstanding and you get some other controls (date picker, etc) that are missing from WPF. To me, for $150 it's money well spent. It worked out of the box, no fuss.
We used to use Divelements for WinForm controls but we think Actipro has better support, so we switched for WPF.
Just my two cents.
不要忘记 GitHub 上的 AvalonDock(WPF 工具包的一部分)。 我在其他地方看到过提到过。
最初我打算使用 ActiPro 库(主要是因为我已经在使用他们的功能区),但我可能会给 AvalonDock 一个机会,因为它是开源的。
有人对 AvalonDock 有任何反馈/意见吗?
Don't forget AvalonDock on GitHub (part of WPF Toolkit). I've seen it mentioned in other places.
Initially I was going to use the ActiPro library (mostly because I am already using their ribbon), but I might give AvalonDock a chance since it is open source.
Anybody have any feedback/comments on AvalonDock?
我使用 DotNetBar,因为它有功能区/底座和更多控件,而且价格便宜。 这很棒。
http://www.devcomponents.com/dotnetbar-wpf/
I use DotNetBar, because it has ribbon/dock and more controls, and it's inexpensive. It's great.
http://www.devcomponents.com/dotnetbar-wpf/
SandDock 还可以。 我们将其用于项目的 POC 阶段。 我在他们的布局保存机制中发现了一些非常严重的错误。 它生成了 XML,但随后无法加载该 XML; 它引发了异常! 实际上,我通读了所有生成的 XML,并且必须在每次生成 XML 后编写代码来稍微修改它。 这似乎不是一个经过深思熟虑的设计; 我希望像
Infragistics 这样的常见 WPF 基本类型会好一点,但有问题。 事实上,如果您尝试在只有 .Net 3.0 而没有 .Net 3.5 的计算机上运行它,它就无法正常工作。 Infragistics 存在一个突出的开发问题,我不知道他们在解决此问题方面是否取得了任何进展。 当浮动窗口并拖动它时,我也遇到过几次崩溃(怀疑这与上面的 .Net 3.0/3.5 问题有关)。 我发现这个控件的样式非常不直观。
SandDock is alright. We used it for a POC phase of a project. I found some pretty bad bugs in their layout saving mechanism. It generated XML, but then couldn't load this XML back; it threw an exception! I actually read through all the generated XML and had to write code to modify the XML slightly after each time it was generated. It did not seem like it was a well thought out design; I was hoping for common WPF base types like
Infragistics is a bit better but buggy. In fact, if you try running it on a machine that only has .Net 3.0 and no .Net 3.5, it doesn't work correctly. Have an outstanding dev issue with Infragistics and I don't know if they've made any progress on a fix for this. I've also had it crash a few times when floating a window and dragging it around (suspect this has to do with the .Net 3.0/3.5 issue above). I've found styling this control to be pretty un-intuitive.
我尝试了这里列出的所有库,它们在某种程度上都有缺陷。 虽然价格昂贵,但我会推荐 Telerik 和 Infragistics。 Nevron 值得一提,因为他们的库是我见过的最好的库,但它是针对 WinForms 的。
I tried all the libraries listed here and they're all buggy to some extent. Although they are pricy I would recommend Telerik and Infragistics. Nevron merits a mention because their library is the best I've seen but it's for WinForms.
1年后...
AvalonDock 现在稳定且强大。
还有一个“AvalonDock 包装器”,可以简化使用它,但不会降低其可能性。
请参阅 http://sofawpf.codeplex.com/
1 year later ...
AvalonDock is now stable and robust.
There's also an "AvalonDock wrapper" that simplifies working with it without reducing its possibilities.
See http://sofawpf.codeplex.com/
这是另一个:
http://www.essentialobjects.com/Products/EOWpf/DockView。 aspx
这个有许多内置皮肤,您可以动态切换。 它还具有许多可以独立使用的单独控件(例如“Splitter”控件)。
Here is another one:
http://www.essentialobjects.com/Products/EOWpf/DockView.aspx
This one has a number of built-in skins that you can switch dynamically. It also has many individual controls (such as a "Splitter" control) that you can use independently.