The UndoStack type exposes the following members.

Methods

  Name Description
Public method Clear
Clears the undo/redo stack.
Public method Redo
Redo changes, cancelling the last undo operation.
Public method SaveState
Save the current report state into the undo stack.
Public method Undo
Undo changes and restore the report to the last saved state.

Properties

  Name Description
Public property CanRedo
Returns true if the redo stack is not empty.
Public property CanUndo
Returns true if the undo stack is not empty.
Public property Enabled
Gets or sets whether the designer should save the state of the report before applying any changes (e.g., when the user moves a field with the mouse).

See Also