UndoStackSize

UndoManager.UndoStackSize property

获取或设置撤消/重做堆栈大小。默认值为 300.

public int UndoStackSize { get; set; }

也可以看看