Click or drag to resize
IUndoRedoService Interface
The service handling the undo-redo stack.

Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core (in Telerik.Windows.Diagrams.Core.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public interface IUndoRedoService

The IUndoRedoService type exposes the following members.

Methods
  NameDescription
Public methodAddCommand
Adds the given command without executing it.
Public methodCanRedo
Determines whether this instance can redo.
Public methodCanUndo
Determines whether this instance can undo.
Public methodClear
Clears the undo and redo stacks.
Public methodExecuteCommand
Executes the command.
Public methodRedo
Redoes this instance.
Public methodRemoveCommand
Removes the command.
Public methodUndo
Undoes this instance.
Top
Properties
  NameDescription
Public propertyIsActive
Gets the is active property.
Public propertyRedoBufferSize
Gets or sets the size of the redo buffer.
Public propertyRedoStack
Gets the redo stack.
Public propertyUndoBufferSize
Gets or sets the size of the undo buffer.
Public propertyUndoStack
Gets the undo stack.
Top
Events
  NameDescription
Public eventActionExecuted
Top
Remarks
Note that this service can be customized and plugged into the ServiceLocator.
See Also