Version

Methods Reference for Registering/Unregistering Objects

Topic Overview

Purpose

This topic lists the methods that register/unregister a specific object to an UndoManager instance.

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.

Methods Reference for Registering/Unregistering Objects

Introduction

The Undo/Redo Framework™ provides methods for registering/unregistering objects to an UndoManager instance.

Methods reference summary

The following table summarizes the purpose and functionality of the methods for registering/unregistering objects.

Methods Description

This static method obtains a reference to the associated UndoManager instance. The method takes an already registered object as a parameter.

Associates an object with a specific UndoManager instance.

This method is helpful when

  • you do not want to maintain an object strong reference to an UndoManager instance

  • you do not want to use the shared thread static UndoManager instance returned by the Current property

The references are maintained via weak references so it is not mandatory to unregister them.

Removes the registration of an object to an UndoManager instance.

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 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 for suspending and resuming the saving of the undo/redo operations in history.

This topic lists the available methods and properties related to creating of a custom UndoUnit in the Infragistics Undo/Redo Framework™.