IUndoRedoService
Interface
The service handling the undo-redo stack.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.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 the redo stack.
C#
IEnumerable<ICommand> RedoStack { get; }
Gets or sets the size of the undo buffer.
C#
int UndoBufferSize { get; set; }
The size of the undo buffer.
Gets the undo stack.
C#
IEnumerable<ICommand> UndoStack { get; }
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