UndoUnit UndoUnit UndoUnit UndoUnit Class

Definition

Represents a single unit of undoable work. Such a unit is added to an undo stack, and methods are provided to traverse the stack and perform an undo action on each unit.

public ref class UndoUnit abstract
public abstract class UndoUnit
type UndoUnit = class
Public MustInherit Class UndoUnit
Inheritance
UndoUnitUndoUnitUndoUnitUndoUnit

Constructors

UndoUnit(EditingContext) UndoUnit(EditingContext) UndoUnit(EditingContext) UndoUnit(EditingContext)

Initializes a new instance of the UndoUnit class.

Properties

Description Description Description Description

Gets or sets the description of this undo unit.

Methods

ApplyGlobalState() ApplyGlobalState() ApplyGlobalState() ApplyGlobalState()

Applies the saved designer as the root designer.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Redo() Redo() Redo() Redo()

Redoes the content contained in this undo unit.

SaveGlobalState() SaveGlobalState() SaveGlobalState() SaveGlobalState()

Persists the current root designer.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
Undo() Undo() Undo() Undo()

Undoes the content contained in this undo unit.

Applies to