subpropertychanged? (changing struct values)

May 27, 2011 at 10:23 AM

hello, we are trying to modify the values of a struct added to the properygrid (example:  Xna's Vector3.X)


however it looks like there is a boxing problem (or rather, lack of boxing)  so the modified value (example: vector3.X) does not cause the parent value to update (example: vector3)


if we make a test "ClassVector3" as a class instead of a struct, it works.


So question, how can we fix this?  i was thinking we could use what i see as "SubPropertyChanged" event, but i can not figure out how to use this.   any suggestions?

May 27, 2011 at 12:13 PM

seems this project has been moved, so i reposted here: