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).

WPF MVVM ComboBox SelectedItem or SelectedValue not working

Update After a bit of investigating. What seems to be the issue is that the SelectedValue/SelectedItem is occurring before …

wpf mvvm combobox
Add directives from directive in AngularJS

I'm trying to build a directive that takes care of adding more directives to the element it is declared on. …

javascript angularjs model-view-controller mvvm angularjs-directive
How should the ViewModel close the form?

I'm trying to learn WPF and the MVVM problem, but have hit a snag. This question is similar but not …

c# wpf mvvm
MVVM in WPF - How to alert ViewModel of changes in Model... or should I?

I am going through some MVVM articles, primarily this and this. My specific question is: How do I communicate Model …

c# .net wpf mvvm
This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread

I have a DataGrid which is populating data from ViewModel by asynchronous method.My DataGrid is : <DataGrid ItemsSource="{Binding …

c# wpf xaml silverlight mvvm
WPF Binding UI events to commands in ViewModel

I’m doing some refactoring of a simple application to follow MVVM and my question is how do I move …

c# wpf mvvm
Implementing CollectionChanged

I have added CollectionChanged eventhandler(onCollectionChanged) to one of the ObservableCollection property. I have found out that onCollectionChanged method gets …

c# wpf mvvm mvvm-light
WPF MVVM Why use ContentControl + DataTemplate Views rather than straight XAML Window Views?

Why This? MainWindow.xaml: <Window x:Class="MVVMProject.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="…

c# wpf xaml mvvm architecture
KnockOutJS - Multiple ViewModels in a single View

I'm thinking that my application is getting quite large now, too large to handle each View with a single ViewModel. …

mvvm knockout.js data-binding knockout-mapping-plugin
Firing a double click event from a WPF ListView item using MVVM

In a WPF application using MVVM, I have a usercontrol with a listview item. In run time, it will use …

wpf mvvm