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.
Unfortunately, activation email could not send to your email. Please try again.

How to take some control on Undo/Redo mechanism

Thread ID:

Created:

Updated:

Platform:

Replies:

113738 Oct 7,2013 06:30 AM Oct 23,2013 05:25 AM WPF 2
loading
Tags: Diagram
Jolanta Lukawska
Asked On October 7, 2013 06:30 AM

Hello

My problem is that I need more control on Undo/Redo mechanism.

For example, I need rotation against different point than node center. For this purpose when node is rotated, the code moves the node (changes offsets) to suitable position. I want this rotation and movement be treated by mechanism Undo/Redo as one operation. It means: click Ctrl+Z should revert both rotation and movement. Now the user must click Ctrl+Z twice to return to starting position.

This is only one from many examples in my code where several actions should be treated as one. Is  there a way to achieve this using Syncfusion functionality?

Regards,

Sudhakar C [Syncfusion]
Replied On October 22, 2013 02:16 PM

Hi Jolanta,

Sorry for the delayed response. We are analysing on your query. We will update the status of this by tomorrow 23rd October, 2013. We will appreciate your patience until then.

Regards,

Sudhakar C 


Sudhakar C [Syncfusion]
Replied On October 23, 2013 05:25 AM

Hi Jolanta,

We have some clarification on your query. Please find the clarifications in below.

1.        1.     When we execute the Undo Command, the Node has been rotate and positioned in it’s old position by execute the undo command two times / three times if we rotated the Node by programmatically. Please refer the attached video.

 

2.       2.       When we execute the Undo command, Node has not been rotated properly if we rotated the Node using the Mouse (rotate the Node by using the Rotator of the Node).

Can you please confirm which one is meet your scenario? We will move forward on this if you confirm the scenario.

Please let us know if you have any concerns on this.

Regards,

Sudhakar C


CONFIRMATION

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.

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.

;