Version

UndoManagerCommandType Enumeration

Enumeration used by an UndoManagerCommandSource to identify a command for a UndoManager instance.
Syntax
'Declaration
 
Public Enum UndoManagerCommandType 
   Inherits System.Enum
public enum UndoManagerCommandType : System.Enum 
Members
MemberDescription
PreventMergeTemporarily prevents merging of UndoUnits until the next UndoUnit that is not part of a Undo/Redo operation is performed.
RedoPerforms a redo operation. The parameter should be an object that was registered as a reference (see UndoManager.RegisterReference or an UndoManager instance or null to operate on the shared UndoManager.Current.
UndoPerforms an undo operation. The parameter should be an object that was registered as a reference (see UndoManager.RegisterReference or an UndoManager instance or null to operate on the shared UndoManager.Current.
UndoRedoHistoryItemInvokes an undo or redo for a given UndoHistoryItem up to and including the HistoryItem. The parameter must be a UndoHistoryItem instance.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also