Question

PropertyGrid Undo/Redo

Posted 13 days ago by Avatar Roger

I would like to implement undo/redo in PropertyGrid.

Do you have easy way to implement?

I checked on Web and there was comments.

https://blog.actiprosoftware.com/post/2010/04/08/Upcoming-PropertyGrid-for-WPF-enhancements-events-and-collection-editing

These events allow you to better track changes made through the PropertyGrid, including capturing undo/redo related information.

Information The latest build of this product (2018.1 build 0671) was released 1 month ago, which was before this thread was created.

Comments (1)

Posted 13 days ago by Actipro Software Support - Cleveland, OH, USA

Hi Roger,

We haven't implemented an undo/redo system in PropertyGrid, but I suppose watching some of the events like PropertyValueChanging/ed might allow you to log various changes un an undo kind of log.  That would probably be the easiest way.

An alternative to those would be to report any property changes within the data object itself back to some centralized undo/redo tracking mechanism.


Actipro Software Support

Add a Comment

Please log in to a validated account to post comments.