This is a migrated thread and some comments may be shown as answers.

Property specific edit end event

1 Answer 33 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 19 Nov 2014, 09:51 PM
We are using the PropertyGrid to edit the contents of an object and it works fine. However we need to be notified when the user finishes editing an individual property. The EndEdit event comes pretty close (once we changed EditMode to single) but we can not figure out which property was actually edited.

Obviously one solution is to have the object we are editing implement INotifyPropertyChanged and handle the property changed event. Unfortunately we don't have access to this object and the property access methods are not virtual so we can't easily extend it.

Is there a way to tell which property was edited in the EndEdit event?

Thanks

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 24 Nov 2014, 04:49 PM
Hello,

Thank you for your feedback. Unfortunately, there is no easy way to track the last edited property with the current implementation. We have considered  to expose the edited property definition through the event arguments. We will do our best to make this change official with the service pack that will get available in the first week of December.

Regards,
Ivan Ivanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
PropertyGrid
Asked by
David
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or