What is preferable WPF or Winforms?
WPF is just a different type of Windows-based solution when compared to WinForms. Microsoft has not stated anything about WPF replacing WinForms, when, in fact, it is just another tool available to the Windows developer.
WPF :
1. The ability to make very rich UIs relatively easily.
2. Easier animation and special effects
3. Inherent scalability
4. Powerfull styling and skinning structure
5. Easy to create an own Look and Feel
6. Does support Windows Forms
7. The future technology for developing Vista Applications
8. The ability to reuse existing code
9. Highly advanced databinding possible
10. Declarative vs procedural code
11. Requires .NET Framework 3.0
12. Compared to Windows Forms, still in development fase
13. Requires Dx9 compatible vidcard for advanced graphics
However, there are drawbacks to WPF, where WinForms comes out on top:
1. WPF's in-box control suite is far more limited than that of WinForms.
2. There's greater support in the 3rd-party control space for WinForms. (That's changing, but for now by advantage of time, WinForms has greater support in the community.)
3.WPF will not run on windows 2000 or lower.
4. Extensive documentation to be found on the internet FOR WIN Forms
5. Plenty of examples FOR WIN Forms
6. Design your own look and feel in a application is a lot of work.
7.C# is slower to run. This is somewhat taken care of when using WPF, although currently the launching of WPF application is still a bit slow. However, after the program is launched, the animation effects are all very smooth.
No comments:
Post a Comment