OperationManager Property (Map)
Undo/Redo the Most Recent Operation
//undo
if (MapView.Active.Map.OperationManager.CanUndo)
MapView.Active.Map.OperationManager.UndoAsync();//await as needed
//redo
if (MapView.Active.Map.OperationManager.CanRedo)
MapView.Active.Map.OperationManager.RedoAsync();//await as needed
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3 or higher.