Tag Archives: MVVM

Accessing platform specific code using IOC in MVVM Cross

By | May 11, 2016

Sometimes we need to write code specific to platform which cannot be written in View Model and needs to be accessed by the View Model. For example, you want to display a message using MessageDialog but its not possible to write the code in the View Model. In this case we can create an interface in the View Model… Read More »

InputBinding for WPF and Silverlight with MVVM

By | March 21, 2011

With the introduction of MVVM pattern and WPF code structure, we have gradually mould ourselves to separate our presentation layer more with the actual Views. In doing so, we have implemented a lots of interfaces, some corresponds to the Command interfaces using ICommand interface which lets you define your object to handle an Button Click event handlers while… Read More »