KGy SOFT

ICanUndoRedo Interface

KGy SOFT Core Libraries Help
Represents an object with undo and redo capability.

Namespace:  KGySoft.ComponentModel
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.0.0-rc.1
Syntax

public interface ICanUndoRedo : ICanUndo

The ICanUndoRedo type exposes the following members.

Properties

  NameDescription
Public propertyCanRedo
Gets whether there are changes to redo.
Public propertyCanUndo
Gets whether there are changes to undo.
(Inherited from ICanUndo.)
Top
Methods

  NameDescription
Public methodClearUndoHistory
Clears the undo history without performing any undo.
(Inherited from ICanUndo.)
Public methodRedoAll
Redoes all possible redo steps.
Public methodTryRedo
Tries to perform one redo step.
Public methodTryUndo
Tries to perform one undo step.
(Inherited from ICanUndo.)
Public methodUndoAll
Undoes all possible undo steps.
(Inherited from ICanUndo.)
Top
See Also

Reference