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 automatically scale font size for a group of controls?

I have a few TextBlocks in WPF in a Grid that I would like to scale depending on their available …

wpf mvvm font-size
WPF OpenFileDialog with the MVVM pattern?

I just started learning the MVVM pattern for WPF. I hit a wall: what do you do when you need …

c# wpf xaml mvvm openfiledialog
Good or bad practice for Dialogs in wpf with MVVM?

I lately had the problem of creating add and edit dialogs for my wpf app. All I want to do …

c# .net wpf mvvm modal-dialog
Good examples of MVVM Template

I am currently working with the Microsoft MVVM template and find the lack of detailed examples frustrating. The included ContactBook …

wpf mvvm
WPF MVVM TreeView SelectedItem

This cannot be this difficult. The TreeView in WPF doesn't allow you to set the SelectedItem, saying that the property …

wpf mvvm treeview
How can I bind the html <title> content in vuejs?

I'm trying a demo on vuejs. Now I want the html title to bind a vm field. The below is …

javascript html mvvm frontend vue.js
Is there a proper way of resetting a component's initial data in vuejs?

I have a component with a specific set of starting data: data: function (){ return { modalBodyDisplay: 'getUserInput', // possible values: 'getUserInput', 'confirmGeocodedValue' …

javascript mvvm vue.js
Android MVVM Design Pattern Examples

I currently do a lot of WPF development and have started creating some basic Android apps. When creating WPF apps …

java android design-patterns mvvm dependency-injection
WPF MVVM INotifyPropertyChanged Implementation - Model or ViewModel

I have read a number of debates on where to implement INotifyPropertyChanged here on StackOverflow and other blogs but it …

wpf data-binding mvvm observablecollection inotifypropertychanged
Enable/disable textbox based on checkbox selection in WPF using MVVM

I have a WPF form with as many as 40 textboxes, with a checkbox for each. Each textbox should be enabled/…

wpf mvvm