Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read
Q&A

Posts tagged mvvm

For questions about using the Model-View-ViewModel design pattern, used for implementing user interfaces that separate the UI (the View) from its data (the Model) via its presentation logic (its ViewModel).

This tag doesn't have a detailed wiki yet.

60%
+1 −0
Q&A Datagrid in MVVM saves edits but not inserts

I am writing a todolist application in WPF with MVVM. I display the goals in a datagrid and the editing works fine. Changes made in the grid are saved to the DB when I click save. However, adding a...

1 answer  ·  posted 1mo ago by FrankLuke‭  ·  last activity 1mo ago by Alexei‭

Question c# mvvm wpf
66%
+2 −0
Q&A C# WPF datagrid not persisting inserts

I am working with VS 2022 and trying to make a WPF MVVM application. The application updates the items displayed in the datagrid, persisting the changes to the database upon save. However, adding a...

0 answers  ·  posted 6mo ago by FrankLuke‭

75%
+4 −0
Q&A WPF MVVM ListBox not updating

I am trying to combine MVVM in WPF using Microsoft.Toolkit.MVVM. Somethings are working as expected. The text boxes bind to fields and update in both directions. The button command executes and cha...

2 answers  ·  posted 8mo ago by FrankLuke‭  ·  last activity 8mo ago by elgonzo‭

Question c# binding mvvm wpf
77%
+5 −0
Q&A How to dynamically change panel of ItemsControl?

Let's say I have some collection of data. My goal is to provide different kind of view of ItemsControl depending on user`s preference. For simplicity, we can assume that user can select only betwe...

1 answer  ·  posted 11mo ago by FoggyFinder‭  ·  edited 11mo ago by FoggyFinder‭

Question c# .net mvvm avalonia
66%
+2 −0
Q&A C# WPF MVVM View & Get new record values

Just looking to hear some reviews on my current MVVM Implementation, If I am heading towards the right direction. :) Code BaseViewModel public class BaseViewModel : INotifyPropertyChanged { ...

1 answer  ·  posted 2y ago by gzi98‭  ·  last activity 2y ago by FoggyFinder‭

Question c# mvvm wpf
57%
+2 −1
Q&A How to filter data from the view using MVVM Pattern?

I am trying to filter data in the DataGrid using the texboxes using the MVVM pattern. Just not sure how to do it. Would appreciate any guidance. My current code: Model public class Technical_Bes...

1 answer  ·  posted 2y ago by gzi98‭  ·  last activity 2y ago by FoggyFinder‭

Question c# mvvm wpf
80%
+6 −0
Q&A C# MVVM Login Project

I was wondering if somebody can review my code? I am creating a simple login desktop application, just to get used to the MVVM pattern using WPF. View &lt;Window x:Class="Login_App.MainWindow" ...

2 answers  ·  posted 2y ago by gzi98‭  ·  last activity 2y ago by Peter Taylor‭

Question c# mvvm wpf