Propertygrid not updating

This is why I am attaching the sample project that I used.May I ask you to share what you are doing differently on your side?I would like to allow the users to change 'their' colours.As an exercise, I thought I would create an instance of a class, with properties for the colours, and assign it to a property grid .You can use the [Refresh Properties] Attribute to trigger updates to the Property Grid. The Convert From method doesn't get called, any clues why?So, I added a "reset" button to my form, which set the colour properties of my object back to the defaults.However, it seems that while it sets my object's properties back, the property grid doesn't change.

propertygrid not updating-89propertygrid not updating-39

Additionally, if you can provide steps, which I can follow in order to reproduce the described behavior, I will be able to better assist you.

Here is some of the relevant XAML and my view model: Hello Dan, Thank you for the provided xaml.

I tried to reproduce the described behavior on my side, but I am afraid I was not able to.

On a side note, you can check out the Property Sets article in our documentation, if you have not done so already.

This thread looks to be a little on the old side and therefore may no longer be relevant.

Leave a Reply