• Material 3
  • Fluent
  • Fluent 2
  • Bootstrap 5
  • Tailwind CSS
  • High Contrast
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

Example of History Manager in ASP.NET Core Diagram Control

This sample demonstrates viewing, deleting, limiting diagram history and groups diagram actions and stores it as a single entry in the history manager.

DEMO
SOURCE
History manager settings
Undo Stack
Redo Stack
Stack Limit

Diagram history handles all the diagram history. Using stackLimit property of the history manager we can limit the no. of entries that can be stored on the diagram history. Also, we can get the list of entries in the undo list and redo list using undoStack and redoStack. Also, diagram history manager has the option to group the action as a single entry with the help of the startGroupAction and endGroupAction public Api. Also, we can add the custom entries to the diagram history. method can be used to print the diagrams.


Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab