Click or drag to resize

CombinedEdit Class

Combine multiple IUndoableEdits to a single edit. Edits will be undone in the reverse order they are added, and redone in the same order they were added.
Inheritance Hierarchy
SystemObject
  Demo3D.VisualsCombinedEdit

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 18.03.00
Syntax
C#
public class CombinedEdit : IUndoableEdit

The CombinedEdit type exposes the following members.

Constructors
  NameDescription
Public methodCombinedEdit
Initializes a new instance of the CombinedEdit class with an empty list of edits.
Public methodCombinedEdit(IListIUndoableEdit)
Initializes a new instance of the CombinedEdit class with the specified list of edits.
Top
Methods
  NameDescription
Public methodAdd
Adds an edit to the combined edit.
Public methodRedo
Executed when redo is called on this edit from the UndoManager
Public methodUndo
Executed when undo is called on this edit from the UndoManager
Top
Fields
  NameDescription
Protected fieldedits
The collection of edits that make up this combined edit.
Top
See Also