This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello, Please find attached a repro project. I has two propertygrids. One is Mindscape the other is WinForms. Change the selection of the first property "Levels of Experimental Design". Note that nothing happens to the other properties in the Mindscape propertygrid but in the Winforms the properties are updated to different selected values and drop-down lists. If you now check off "Reload" checkbox and change the selection of "Level of..." property in Mindscape the other properties are now updated properly just like in the WinForms propertygrid. However to accomplish this I'm setting the viewmodel object bound to the SelectedObject to null and then resetting it to the instance of the viewmodel object being bound. (See code in sampling_PropertyChanged() ) Is there a better way to do this without the need for this type of extra code? Note: The code in ClassicalDesignSampler.cs cannot be changed. Thank you. Oscar |
|
|
Sorry Oscar, The Property Grid currently does not support this scenario, and we don't have plans to implement this. You will need to stick with the work around you are currently using. -Jason Fauchelle |
|