Skip to main content

IUndoHistory Interface

Definition​

Assembly:Avalonia.Controls.Documents
Package:Avalonia.Controls.Documents

Reads the undo and redo stacks.

public interface IUndoHistory

Remarks​

Implemented by Avalonia.Controls.Documents.Undo.UndoManager. The stacks are exposed for inspection, a history window or a test; the units themselves are not replayable from outside.

Properties​

NameDescription
RedoUnitsThe units that can be redone, most recent last.
UndoUnitsThe units that can be undone, most recent last.

RedoUnits Property​

The units that can be redone, most recent last.

public System.Collections.Generic.IReadOnlyList<Avalonia.Controls.Documents.Undo.IUndoUnit> RedoUnits { get; set; }

UndoUnits Property​

The units that can be undone, most recent last.

public System.Collections.Generic.IReadOnlyList<Avalonia.Controls.Documents.Undo.IUndoUnit> UndoUnits { get; set; }