Hi,
The property changed event is triggered multiple times when a property is changed. Please check the attached project for sample.
Please let me know the solution so that the event will be triggered only once.
Regards,
Ramesh Durai
Hello Ramesh,
Are you seeing the MessageBox show twice for each property change? Can you please provide environment details? I'd imagine you kept the same version of DotNet.
I don't see this behavior occurring however it's come to my attention that we may have addressed this issue. I'd like for you to download our latest build here:
https://filetransfer.infragistics.com/public.php?service=files&t=8dc8d6513aa7e1203204d87219fe1dca
Let me know if you have any questions.
It's little weird. Uncommenting the MessageBox.Show in the method propertyGrid_PropertyItemValueChanged in your code reproduces my issue. If I comment the line its called only one time.
Apologies. There was some difficulty uploading the attachment. I've placed the project on our sharing site. Please [Click Here]
I am using the latest service release(2016.1 build 2134) and still having the same issue. There is no sample solution in your post.
Thank you for contacting Infragistics. I've tested out our application and I was not seeing PropertyItemValueChanged firing twice nor the members in your view model in 2016.1 build 2134 (latest service patch). I've attached a sample solution that you can run using our latest service release assemblies. Please let me know if the application reproduces the behavior you've found. If not please let me know which build you are using.
If you are not currently using the latest service release and would like to upgrade please read these instructions.
The latest Service Release build is available at Infragistics.com.
1. Go to https://es.infragistics.com/my-account/keys-and-downloads. You may be prompted to log in with your username and password.
2. You will see a list of all of your registered keys. Select the version of NetAdvantage you are interested in.
3. Select the "Services Releases" tab on the bottom.
4. Click on the item you want to download.
Let me know if you have any questions regarding this matter.