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

What is the difference between MVC and MVVM?

Is there a difference between the standard "Model View Controller" pattern and Microsoft's Model/View/ViewModel pattern?

model-view-controller mvvm design-patterns
Binding a WPF ComboBox to a custom list

I have a ComboBox that doesn't seem to update the SelectedItem/SelectedValue. The ComboBox ItemsSource is bound to a property …

c# wpf data-binding mvvm combobox
MVVM: Tutorial from start to finish?

I'm a C#/Windows Forms programmer with more than 5 years experience. I've been investigating WPF using the MVVM (Model-View-ViewModel) design …

c# .net wpf mvvm
How to bind to a PasswordBox in MVVM

I have come across a problem with binding to a PasswordBox. It seems it's a security risk but I am …

c# wpf mvvm wpf-controls passwords
How to bind WPF button to a command in ViewModelBase?

I have a view AttributeView that contains all sorts of attributes. There's also a button that when pressed, it should …

c# wpf mvvm command viewmodel
Handling the window closing event with WPF / MVVM Light Toolkit

I'd like to handle the Closing event (when a user clicks the upper right 'X' button) of my window in …

c# wpf xaml mvvm mvvm-light
Data binding to SelectedItem in a WPF Treeview

How can I retrieve the item that is selected in a WPF-treeview? I want to do this in XAML, because …

c# wpf mvvm treeview selecteditem
What is difference between MVC, MVP & MVVM design pattern in terms of coding c#

If we search Google using the phrase "What is difference between MVC, MVP & MVVM design pattern" then we may …

c# design-patterns model-view-controller mvvm mvp
Wpf DataGrid Add new row

I have managed to get DataGrid to show new row for adding new item. Problem i face now is i …

c# wpf mvvm datagrid
How do I set a ViewModel on a window in XAML using DataContext property?

The question pretty much says it all. I have a window, and have tried to set the DataContext using the …

.net wpf xaml mvvm