CompoundEdit
StockSharp.Xaml.Diagram.GXDiagram.Model.UndoManager
This class is used to hold a list of ModelChangedEventArgs that should be undone or redone all together because it represents the side-effects of a single logical operation, including user-driven events.
Implementa: IUndoableEdit
Constructores
CompoundEdit()
Construct an empty list of edits.
Propiedades
Edits : IList<IUndoableEdit>
Gets a list of all the IUndoableEdits in this compound edit.
IsComplete : bool
Gets or sets whether we can add more undoable edits to this compound edit.
Métodos
Clear()
Clear all of the IUndoableEdits and forget all references to them.
Redo()
Redo all of the IUndoableEdits, in forwards order.
Undo()
Undo all of the IUndoableEdits, in reverse order.