class UndoSystem

robot_2Generated
code_blocksInput

Description

The UndoSystem class in the Sandbox.Helpers namespace provides a framework for implementing undo and redo functionality. It manages a history of actions that can be undone or redone, allowing developers to easily integrate this feature into their applications.

Members

Instance Members

Member NameSummary
UndoInstigate an undo. Returns true if a successful undo was found.
RedoInstigate a redo. Returns true if a successful redo was found.
InsertInsert a new undo/redo entry with a title and corresponding actions.
SetSnapshotFunctionObsolete. Auto Snapshotting is no longer supported. Use manual snapshots in undo/redo actions.
SnapshotObsolete. Auto Snapshotting is no longer supported. Use manual snapshots in undo/redo actions.
InitializeClear the history and take an initial snapshot. Call this after loading or starting a new project.
BackBackwards stack.
ForwardForwards stack, cleared when a new undo is added.
OnUndoCalled when an undo is executed.
OnRedoCalled when a redo is executed.