Version

UndoUnitFactory Properties and Methods Reference

Topic Overview

Purpose

This topic lists some of the important properties and methods of the UndoUnitFactory class.

UndoUnitFactory Class Reference

Introduction

The UndoUnitFactory is a factory class used for creating UndoUnit instances.

The UndoUnitFactory class provides methods using the derived UndoUnit classes. They may be overridden to provide custom UndoUnit classes.

About UndoUnitFactory 1.png

Properties reference summary

The following table summarizes the purpose and functionality of the UndoUnitFactory class key properties.

Property Description

Returns the default factory used to create UndoUnit instances for use in an UndoManager

Note
Note

The Current property is not thread static and will affect all threads and therefore the UndoUnitFactory class should be thread safe.

Methods reference summary

The following table summarizes the purpose and functionality of the UndoUnitFactory class key methods.

Method Description

Creates an UndoUnit for the specified method.

Creates an UndoUnit for a collection change based upon a specified System.Collections.Specialized.NotifyCollectionChangedEventArgs.

Creates an PropertyChangeUndoUnitBase for the specified property change.

Creates an UndoTransaction.

Related Content

Topics

The following topics provide additional information related to this topic.

Topic Purpose

This topic lists some of the important properties of the ObservableCollectionExtendedWithUndo class.

This topic lists the properties and methods of the UndoHistoryItem class.

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.