We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Value is not updated in PropertyGrid

Thread ID:





123545 Mar 29,2016 02:49 AM UTC Apr 1,2016 08:46 AM UTC WPF 6
Tags: PropertyGrid
Mers Tho
Asked On March 29, 2016 02:49 AM UTC

I am trying to XML serialize my updated value in propertygrid, but it keeps saving the default value that I had set, I had try using INotifyPropertyChanged, it is still not working.
Any solution for that? thank you.

Here is my code 

Attachment: WpfApplication9_26fb08bd.zip

Sugapriya Mariappan [Syncfusion]
Replied On March 29, 2016 09:48 AM UTC

Hi Tho Jun,

Thank you for contacting Syncfusion Support.

We have checked the sample which you have provided in your last update. In that sample, you have created object for the Person class each time before using that.Due to this, the value does not get updated properly while changing at runtime. Now we have modified the sample with the same object and please download it from the below link

Sample link:WpfApplication9


Mers Tho
Replied On March 29, 2016 04:15 PM UTC

Hello, thank you for answering my question again, your code is working!! However, there is another problem comes out again, which is once I click the load button to deserialize the data from XML, the data will not be able to be updated again if I click save button. Did I miss something in the Deserialize function ?

Mers Tho
Replied On March 29, 2016 04:23 PM UTC

Once again, I would like to say thank you for helping me. I've found the problem I've just posted just now. In my Deserialize function, i added PropertyDemo.SelectedObject = obj in my code, but I solve my problem by deleting it. Thank you so much

Sugapriya Mariappan [Syncfusion]
Replied On March 30, 2016 07:24 AM UTC

Hi Tho Jun,

Thank you for your update.

Please let us know if you need any other assistance


Mers Tho
Replied On March 31, 2016 08:13 AM UTC

Hi, now I could save the data properly. but after i serialize to XML, the load button with deserialize function could not work properly.

Sugapriya Mariappan [Syncfusion]
Replied On April 1, 2016 08:46 AM UTC

Hi Tho Jun,

Please follow up forum #123551 to get further updates about the reported query



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon