Hi
I have requirement where a certain set of diagram transactions should not be able to be undone/redone, whereas other diagram transactions will support undo/redo as normal.
How can I achieve this?
Thanks
Hi
I have requirement where a certain set of diagram transactions should not be able to be undone/redone, whereas other diagram transactions will support undo/redo as normal.
How can I achieve this?
Thanks
Temporarily set myDiagram.Model.SkipsUndoManager = true.
To be careful, you should save the old value of that property and then restore that value afterwards. This because the GoXam system itself temporarily sets that property to true. But I cannot say whether that is possible in your situation.
Thanks Walter