IUndoRedoService
Interface
The service handling the undo-redo stack.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
C#
public interface IUndoRedoService
Derived Classes:
Properties
Gets the is active property.
C#
bool IsActive { get; }
Determines whether the undoRedo service is executing undo or redo action at the moment.
Gets or sets the size of the redo buffer.
C#
int RedoBufferSize { get; set; }
The size of the redo buffer.
Gets or sets the size of the undo buffer.
C#
int UndoBufferSize { get; set; }
The size of the undo buffer.
Methods
Adds the given command without executing it.
Determines whether this instance can redo.
Determines whether this instance can undo.
Clears the undo and redo stacks.
C#
void Clear()
Redoes this instance.
C#
void Redo()
Removes the command.
Undoes this instance.
Events
C#
event EventHandler<CommandEventArgs> ActionExecuted