We're sorry but this site requires JavaScript.
Is this content useful?
Thank you for your feedback!
Thank you for your feedback! You have rated this topic in the last 30 days.
Methods Reference for Suspending and Resuming Saving History
Topic Overview
Purpose
This topic lists the available methods for suspending and resuming the saving of the undo/redo operations in history.
Required background
The following table lists the topics required as a prerequisite to understanding this topic.
Topic
Purpose
This topic lists some of the important properties and methods of the UndoManager class.
This topic lists the derived classes and some of the important properties and methods of the UndoUnit class.
In this topic
This topic contains the following sections:
Methods Reference for Suspending and Resuming Saving History
Introduction
The UndoManager class exposes two methods - for suspending and for resuming saving in the undo/redo history.
You may want to suspend the saving process when data is initially loaded – then it is not needed to preserve the collection changes.
Methods reference summary
The following table summarizes the purpose and functionality of the UndoManager
methods for suspending and resuming the recording of UndoUnit instances in the history.
Method
Description
Resumes the recording of UndoUnit
instances in the history.
Each call to the Suspend
method must have corresponding call to the Resume
method so the saving is resumed.
Suspends the recording of UndoUnit
instances in the history.
Any calls to AddChange or the other helper methods for creating and saving UndoUnit instances will not affect the undo/redo history.
Related Content
Topics
The following topics provide additional information related to this topic.
Topic
Purpose
This topic lists the available methods for adding an UndoUnit derived class object to the undo history.
This topic lists the available methods for removing the UndoUnit instances from the undo/redo history.
This topic lists the methods that register/unregister a specific object to an UndoManager instance.
This topic lists the available methods for performing undo and redo operations.
This topic lists the available methods and properties for performing undo/redo transactions.
This topic lists the available methods and properties related to the merging of undo/redo operations.
This topic lists the available commands in the Infragistics Undo/Redo Framework™.
This topic lists the available methods and properties related to creating of a custom UndoUnit in the Infragistics Undo/Redo Framework™.