You are partially correct with regards to what n0n4m3 said. You can easily change the properties of a value type as we see in shakalama?? example (which may be one way for you to fix your problem).
The problem with setting a part of a value type without rebuilding it is with properties because to set the single value of the value type the property has to return the entire struct and then make available the individual value... when you try to set it the system doesn?? know what to do with this value as you are effectively setting (in your example) a float to a property that only accepts values of the type PointF.
Does this make things a little more clear?
Please visit http://www.brendansstudentloans.com to help me pay off my student loans a little faster |