Enum RichTextUndoBehavior
- Namespace
- RichEdit.Maui
- Assembly
- RichEdit.Maui.dll
Controls how an atomic edit interacts with document undo history.
public enum RichTextUndoBehavior
Fields
ClearHistory = 2Commit the transaction and clear existing undo and redo history.
CreateUnit = 0Create one undo unit for the transaction.
MergeWithPrevious = 1Merge the transaction with the preceding compatible undo unit.
PreserveHistory = 3Commit character, paragraph, or default formatting without recording an undo unit or invalidating undo/redo. Text and semantic changes are rejected. Undo/redo may restore older formatting; applications deriving formatting from content should reapply it after history transitions.