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

PropertyGrid undo/redo subscription

3 Answers 31 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Stephanie
Top achievements
Rank 1
Stephanie asked on 28 Mar 2014, 04:53 AM
Whilst working with the telerik property grid for wpf, I realised that it automatically implemented an undo/redo command on each property in the property grid. I was wondering if there was a way I could bind this command to say a button that could be clicked for usability's sake (not individually, but for the grid as a whole).

Thanks very much in advance!

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 01 Apr 2014, 03:19 PM
Hello,

Would you please clarify what do you mean by "the undo/redo command on each property in the property grid"? What the purpose of this button would be?

Regards,
Didie
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
0
Stephanie
Top achievements
Rank 1
answered on 02 Apr 2014, 05:16 AM
I'm beginning to think it's just a Microsoft thing that's leaked into our software. When I was clicking on a property, I could press control+Z and it would take it back to the previous version...

We basically want to implement a button that we can click that will revert changes made to the properties within the property grid (as a standard undo button would do). Is there a way you can recommend doing this?
0
Dimitrina
Telerik team
answered on 04 Apr 2014, 03:54 PM
Hi,

I am afraid our control does not expose such a command to undo all the edits done.

If you would like to disregard it, I can suggest you to implement IEditableObject for your bound object.
That way you will be able to cancel the edit after the value has been changed.


Regards,
Didie
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
Stephanie
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Stephanie
Top achievements
Rank 1
Share this question
or