Top "Mvvm" questions

Model-View-ViewModel (MVVM) is an architectural design pattern for implementing user interfaces that separates the UI (the View) from its data (the Model) via its presentation logic (its ViewModel).

How to handle dependency injection in a WPF/MVVM application

I am starting a new desktop application and I want to build it using MVVM and WPF. I am also …

c# wpf mvvm dependency-injection dependencies
Keyboard events in a WPF MVVM application?

How can I handle the Keyboard.KeyDown event without using code-behind? We are trying to use the MVVM pattern and …

wpf mvvm
Proper way to use CollectionViewSource in ViewModel

I used Drag and Drop to bind Data Source object (a DB model) to DataGrid (basically following this example in …

c# wpf mvvm datagrid collectionviewsource
AngularJS browser autofill workaround by using a directive

When submitting a form in AngularJS and use the browser remember password functionality, and in a subsequent login attempt you …

javascript mvvm angularjs
WPF: How to bind a command to the ListBoxItem using MVVM?

I have just started learning MVVM. I've made the application from scratch by following this MVVM tutorial (I highly recommend …

c# wpf mvvm binding commandbinding
What is Prism for WPF?

I've come across something called Prism a lot recently. Microsoft, who run the project, describe it as Guidelines for composite …

wpf mvvm prism
How to handle the SelectionChanged event of ComboBox with MVVM in wpf?

How to raise / handle the SelectionChanged event of WPF's ComboBox using the MVVM pattern? Explain in detail please I am …

wpf mvvm wpf-controls
Why RelayCommand

I've been programming a lot in WPF lately but my View and ViewModel are not separate at this point. Well, …

c# wpf mvvm binding relaycommand
How do I bind a TabControl to a collection of ViewModels?

Basically I have in my MainViewModel.cs: ObservableCollection<TabItem> MyTabs { get; private set; } However, I need to somehow …

c# wpf mvvm tabcontrol tabitem
INotifyPropertyChanged vs. DependencyProperty in ViewModel

When implementing the ViewModel in a Model-View-ViewModel architecture WPF application there seem to be two major choices how to make …

wpf data-binding architecture mvvm dependency-properties