DCSIMG
MVVM,M-V-VM - Smallfish

Smallfish

Tips, Tricks, Shticks & Anything That Can Help You Be better Developer

Browse by Tags

All Tags » MVVM » M-V-VM (RSS)
WPF vs. Windows Forms
This argument exists since the first version of WPF (Windows Presentation Framework), so what should one select, WPF or Windows Forms? I will start with my conclusion / disclaimer: Any new windows client should use WPF! Now, for the explanation: The biggest "flaw" of WPF is its learning curve, it is slightly hard to understand the "rhythmic" of it. Thus, many companies / developers prefer the comfort zone of windows forms as it seems more easy and "fast" to develop....
How To Get A Property Name Using Lambda Expression in C# 3.0
During development of WPF application using M-V-VM design pattern (by Josh Smith on MSDN Mag.) I came across a problem of refactoring the view model classes, especially the properties’ names. The view model classes are implementing the INotifyPropertyChanged interface by inheriting from a helper NotifyPropertyChanged base class which have a method to raise the property changed event called ‘SendPropertyChanged’. That method gets “propertyName” parameter which is a string, and this was the problem...