Skip to main content

IUndoUnit Interface

Definition​

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

Read-only metadata for an undo/redo operation. The reversal mechanics live on an internal contract, so a unit obtained from Avalonia.Controls.Documents.Undo.UndoManager.Undo or Avalonia.Controls.Documents.Undo.IUndoScope.Unit can be described but not replayed by a caller.

public interface IUndoUnit

Properties​

NameDescription
DescriptionGets a description of the operation.

Description Property​

Gets a description of the operation.

public string Description { get; set; }