其中WPF控件套件最适合MVVM?最适合、套件、控件、WPF

2023-09-03 20:53:54 作者:余生我再牵你的手

看来,要真正评价一个UI控制套件的唯一方法是下载试用,并投入大量时间了解它的局限性和设计上的缺陷。然而,有这么多的,我想缩短这个过程排除那些不符合的关键标准选择 - MVVM兼容性

It seems that the only way to really evaluate a UI control suite is to download the trial and invest many hours in understanding its limitations and design flaws. However, with so many to choose from, I am trying to shorten this process by ruling out those that fail to meet a key criterion - MVVM compatibility.

你有什么部署在使用MVVM和,如果有的话,是专门用MVVM设计考虑项目的各套房经历?

What are your experiences in deploying the various suites in projects that use MVVM and which, if any, are specifically designed with MVVM in mind?

推荐答案

我大多同意丹;正如他提到的控制应具有内置的功能以触发命令,同时控制性能应依赖属性,以便使用他们的结合(我曾经面临这个问题与一些3'rd党控制的)。

I mostly agree with Dan; As he mentioned controls should have built in capability to fire a Command, at the same time control properties should be dependency properties so as to use binding with them(I have faced this issue with some of the 3'rd party controls).

我已经评估的Telerik,Infragistics的和Syncfusion控制为我的项目,并已广泛使用的Telerik和Syncfusion。

I have evaluated Telerik, Infragistics and Syncfusion controls for my projects and have extensively used Telerik and Syncfusion.

这是我的经验,我觉得是的Telerik最好的设计和控制最适合MVVM。我看到Telerik的code,以及和他们自己使用MVVM模式。

From my experience I feel Telerik are best designed controls and best suited for MVVM. I have seen telerik's code as well and they themselves use MVVM pattern.

我没用过Infragistics的广泛所以无法评论是否适合用于MVVM或没有,但他们有良好而稳定的控制。

I haven't used Infragistics extensively so can't comment whether they suit for MVVM or not but they have good and stable controls.

Syncfusion是最糟糕的,当涉及到WPF,有控制是不是很大,并会采取强硬的MVVM使用。他们既不是精心设计的,也很稳定。

Syncfusion is worst when it comes to WPF, there controls are not that great and will be tough to use with MVVM. They are neither well designed nor very stable.

一个技巧来检查这个相容性 -

检查(翻阅)样品这些控件。如果他们使用MVVM有样品中,或者使用命令绑定等广泛地有样,那么他们将是要与MVVM使用更合适。

check(glance through) the samples for these controls. If they have used MVVM in there samples or have used Commands, Binding etc. extensively in there samples, then they will be more suitable to be used with MVVM.

据我记得,我已经看到了MVVM在Telerik的控制,其中作为Syncfusion样本不使用大多数WPF还有样品中的特点,他们看起来在WPF应用程序中使用普通的WinForms样品。

As far as I remember, I have seen MVVM in Telerik's control, where as Syncfusion samples don't use most of the features of WPF in there samples, they look plain WinForms samples used in WPF application.