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.
Реализует: IUndoableEdit
Конструкторы
CompoundEdit()
Construct an empty list of edits.
Свойства
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.
Методы
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.