ICanUndoRedo Interface

Represents an object with undo and redo capability.

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 7.0.0-rc.1
C#
public interface ICanUndoRedo : ICanUndo
Implements
ICanUndo

Properties

CanRedo Gets whether there are changes to redo.
CanUndo Gets whether there are changes to undo.
(Inherited from ICanUndo)

Methods

ClearUndoHistory Clears the undo history without performing any undo.
(Inherited from ICanUndo)
RedoAll Redoes all possible redo steps.
TryRedo Tries to perform one redo step.
TryUndo Tries to perform one undo step.
(Inherited from ICanUndo)
UndoAll Undoes all possible undo steps.
(Inherited from ICanUndo)

See Also