MVVM – ListView SelectedItem and DataBinding

UPDATE: I recommend a new version of this post at following link C# – WPF MVVM DataBinding 2014

On studying how to use MVVM pattern in WPF I found out that the ListView or ListBox control doesn’t support ICommand interface and therefore I can not bind a command to a ListView. After searching on Internet I saw that man can use Prism extensions framework to add custom command to our ListView control. The example below guides step by step how to get SelectedItem of ListView in MVVM pattern using command.

Continue reading MVVM – ListView SelectedItem and DataBinding