mvvm-toolkit

MVVM Foundation vs MVVM Toolkit

Can someone explain the differences between the MVVM Foundation and the MVVM Toolkit? They seem to have a lot in common. ...

WPF (MVVM): Wiring up viewModel to view in code-behind of Window?

Hi there, I have been getting my feet wet with MVVM pattern for WPF and everything is working as it should.. But i am wiring up the viewmodel to my view datacontext from my codebehind of my window. Sure enough the point of MVVM is to get rid of code behind in windows... which it does great, so i am left with 2 simple lines to wire up...

Is MVVM pointless?

Is orthodox MVVM implementation pointless? I am creating a new application and I considered Windows Forms and WPF. I chose WPF because it's future-proof and offer lots of flexibility. There is less code and easier to make significant changes to your UI using XAML. Since the choice for WPF is obvious, I figured that I may as well go...

Can't bind ICommand in VM to button Command in xaml

I create a VM based on MVVM light toolkit. In VM, there is a simple ICommand(RelayCommand) private RelayCommand _myCommand = null; public RelayCommand MyCommand { get { if (_myCommand == null) //set break point here for debug { _myCommand = new RelayCommand(() => ...

How to pass multiple parameters and EventArgs properties when using EventToCommand in MVVM-Light toolkit

Hi guys, I am using MVVM Light toolkit for my WPF application and I would like to know if its possible, when using EventToCommand, to pass multiple parameters to RelayCommand and Is it possible to pass properties of EventArgs instead of passing the whole EventArgs ? Regards, Nabeel ...