Click here to Skip to main content
15,887,322 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Jon McKee8-Feb-24 12:01
professionalJon McKee8-Feb-24 12:01 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
honey the codewitch8-Feb-24 12:08
mvahoney the codewitch8-Feb-24 12:08 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Richard Andrew x648-Feb-24 12:21
professionalRichard Andrew x648-Feb-24 12:21 
JokeRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Nelek8-Feb-24 18:47
protectorNelek8-Feb-24 18:47 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Amarnath S8-Feb-24 14:14
professionalAmarnath S8-Feb-24 14:14 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
honey the codewitch8-Feb-24 14:18
mvahoney the codewitch8-Feb-24 14:18 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Kenneth Haugland8-Feb-24 14:34
mvaKenneth Haugland8-Feb-24 14:34 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
honey the codewitch8-Feb-24 14:37
mvahoney the codewitch8-Feb-24 14:37 
You can do it in winforms though - and it will in fact corral you into doing it that way if you try to use its databinding facilities for anything real world.

You'll end up making a viewmodel. the only differences are

A) You probably won't call it that
B) Not all of your controls will go through it necessarily, or you may have more than one.

The reason is simple. Databinding is too basic to handle real world scenarios to the 80% rule. It's not quite there, so at some point, you're going to have to "hack" or at least indirect the databind (read: Create some kind of adapter - a viewmodel)
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix

GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Kenneth Haugland8-Feb-24 14:51
mvaKenneth Haugland8-Feb-24 14:51 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
honey the codewitch8-Feb-24 15:01
mvahoney the codewitch8-Feb-24 15:01 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Kenneth Haugland8-Feb-24 15:20
mvaKenneth Haugland8-Feb-24 15:20 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
honey the codewitch8-Feb-24 15:21
mvahoney the codewitch8-Feb-24 15:21 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Kenneth Haugland8-Feb-24 15:25
mvaKenneth Haugland8-Feb-24 15:25 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Nelek8-Feb-24 19:30
protectorNelek8-Feb-24 19:30 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
honey the codewitch9-Feb-24 0:25
mvahoney the codewitch9-Feb-24 0:25 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Rage8-Feb-24 22:29
professionalRage8-Feb-24 22:29 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Jon McKee9-Feb-24 14:52
professionalJon McKee9-Feb-24 14:52 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Jacquers8-Feb-24 17:50
Jacquers8-Feb-24 17:50 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
honey the codewitch8-Feb-24 18:53
mvahoney the codewitch8-Feb-24 18:53 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Kenneth Haugland8-Feb-24 21:04
mvaKenneth Haugland8-Feb-24 21:04 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
honey the codewitch9-Feb-24 0:29
mvahoney the codewitch9-Feb-24 0:29 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Kenneth Haugland9-Feb-24 12:31
mvaKenneth Haugland9-Feb-24 12:31 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Sander Rossel8-Feb-24 21:08
professionalSander Rossel8-Feb-24 21:08 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
honey the codewitch9-Feb-24 0:31
mvahoney the codewitch9-Feb-24 0:31 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Sander Rossel9-Feb-24 2:23
professionalSander Rossel9-Feb-24 2:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.