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

Entity Framework 6: Clone object except ID

In my MVVM program I have a Model class (say MyModel) from which I have an instance of reading from …

c# entity-framework mvvm entity-framework-6
Select multiple items from a DataGrid in an MVVM WPF project

How can I select multiple items from a DataGrid in an MVVM WPF project?

c# wpf xaml mvvm datagrid
How do you handle a ComboBox SelectionChanged in MVVM?

For those doing pure MVVM, how do you handle a ComboBox SelectionChanged event without reverting to code behind? I tried …

wpf events mvvm attachedbehaviors
Implementing "close window" command with MVVM

So my first attempt did everything out of the code behind, and now I'm trying to refactor my code to …

c# wpf mvvm relaycommand
void Func without arguments

There are some similar questions but not exactly like mine. Is there a Func equivalent for a function without a …

c# wpf mvvm func
Project structure for MVVM in WPF

What is the project structure you end up with when using MVVM in WPF? From the tutorials I saw now, …

c# wpf xaml mvvm
Good Silverlight-MVVM Practice Example

I've read a number of good articles about the Model-View-ViewModel pattern and my team intends to implement this pattern in …

silverlight mvvm
How to use RelayCommand with the MVVM Light framework

I've just started learning the MVVM Light framework and I can't find any straightforward examples on how to use a …

c# wpf mvvm mvvm-light
MVVM Light: Adding EventToCommand in XAML without Blend, easier way or snippet?

Can anyone tell me what the actual syntax is for EventToCommand class. From what I believe is that EventToCommand class …

mvvm mvvm-light eventtocommand
Cannot create an instance of class ViewModel

I am trying to write a sample app using Android architecture components and but even after trying for days I …

android mvvm android-architecture-components