Click here to Skip to main content
15,887,383 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
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 
From what I can tell you need to viewmodel in order to perform two tasks.

Complicated binds
Binds involving transforming data.

Both cannot be done at least in part due to the fundamental syntax limitations of declarative binding, to wit: How do you actually describe a data transformation in a string literal?

(by that i mean, a transformative binding here: )

XML
<controls:RatingControl NumberOfStars="{Binding NumberOfStars}" 
							Value="{Binding RatingValue}" />


Therein lies a big part of the problem. What is one to do? I suppose you could expose your data models as XML and describe the binds using XSLT transforms but I can think of things I'd rather do, like stab my own eyes out.
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 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 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
obermd9-Feb-24 4:05
obermd9-Feb-24 4:05 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
honey the codewitch9-Feb-24 4:06
mvahoney the codewitch9-Feb-24 4:06 
GeneralRe: MVVM As Explained by an Idiot (Yours, Truly) Pin
Gerry Schmitz9-Feb-24 10:37
mveGerry Schmitz9-Feb-24 10:37 
GeneralMystery errors Pin
TNCaver8-Feb-24 10:56
TNCaver8-Feb-24 10:56 
GeneralRe: Mystery errors Pin
Dave Kreskowiak8-Feb-24 11:16
mveDave Kreskowiak8-Feb-24 11:16 
GeneralRe: Mystery errors Pin
TNCaver8-Feb-24 14:44
TNCaver8-Feb-24 14:44 
GeneralRe: Mystery errors Pin
charlieg9-Feb-24 11:15
charlieg9-Feb-24 11:15 
GeneralRe: Mystery errors Pin
RickZeeland8-Feb-24 16:43
mveRickZeeland8-Feb-24 16:43 
GeneralRe: Mystery errors Pin
TNCaver9-Feb-24 2:59
TNCaver9-Feb-24 2:59 
GeneralRe: Mystery errors Pin
RickZeeland9-Feb-24 3:03
mveRickZeeland9-Feb-24 3:03 
GeneralRe: Mystery errors Pin
RainHat8-Feb-24 23:01
RainHat8-Feb-24 23:01 
GeneralRe: Mystery errors Pin
TNCaver9-Feb-24 8:54
TNCaver9-Feb-24 8:54 
RantOkay I'm actually annoyed now. PinPopular
honey the codewitch7-Feb-24 20:57
mvahoney the codewitch7-Feb-24 20:57 

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.