Click or drag to resize
UndoRedoService Class
Service managing the undo redo actions.
Inheritance Hierarchy
SystemObject
  Telerik.Windows.Diagrams.CoreUndoRedoService

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 class UndoRedoService : IUndoRedoService

The UndoRedoService type exposes the following members.

Constructors
  NameDescription
Public methodUndoRedoService
Initializes a new instance of the UndoRedoService class.
Top
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.
Protected methodOnActionExecuted
Raises the ActionExecuted event.
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
Occurs when either a do or an undo command is executed.
Top
See Also