Upraviť

Zdieľať cez


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
UndoUnit

Constructors

UndoUnit(EditingContext)

Initializes a new instance of the UndoUnit class.

Properties

Description

Gets or sets the description of this undo unit.

Methods

ApplyGlobalState()

Applies the saved designer as the root designer.

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Redo()

Redoes the content contained in this undo unit.

SaveGlobalState()

Persists the current root designer.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
Undo()

Undoes the content contained in this undo unit.

Applies to