Version

Undo/Redo Framework Commands Reference

Topic Overview

Purpose

This topic lists the available commands in the Infragistics Undo/Redo Framework™.

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.

In this topic

This topic contains the following sections:

Commands Reference

Introduction

The Infragistics Undo/Redo Framework provides several commands that can be used within the XAML code.

Commands reference summary

The following table summarizes the purpose and functionality of the commands in the Undo/Redo framework.

Command Description

A custom CommandSource used to provide a command based on the specified CommandType, which is a custom enumeration of type UndoManagerCommandType.

Executes the Undo method of a given UndoManager instance.

The command takes an UndoManager instance or an object that has been registered using the RegisterReference method as a parameter.

Executes the Redo method of a given UndoManager instance.

The command takes an UndoManager instance or an object that has been registered using the RegisterReference method as a parameter.

Executes an undo or redo operation for a given UndoHistoryItem.

This command can be used in a xamMenu control for the xamMenuItem that displays a list of the history items.

The command takes an UndoHistoryItem from the UndoHistory/ RedoHistory of a specific UndoManager instance as a parameter.

Executes a PreventMerge method of a specific UndoManager.

The command takes an UndoManager instance or an object that has been registered using the RegisterReference method as a parameter.

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 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™.