Support to disable the undo and redo operations

19 Dec 20221 minute to read

The undo operation using both the UndoCommand and keyboard shortcut Ctrl+Z can be enabled or disabled using the IsUndoEnabled property. The default value of this property is true.

PdfViewer.IsUndoEnabled = false;

NOTE

Redo can be performed only if undo is enabled. So, enabling or disabling undo, effectively enables and disables redo as well.