Is there a way to group or temporarily disable the undo history for a RichTextBox?

后端 未结 2 1237
清歌不尽
清歌不尽 2021-02-19 07:24

I\'m currently wrestling with Tables inside RichTextBoxs in WPF. In WPF, tables don\'t have rows and columns, they just have rows, each having a certain number of cells. When a

2条回答
  •  轮回少年
    2021-02-19 08:00

    you can disable undo by setting IsUndoEnabled property to false or you can limit the undo by using UndoLimit. you can disable the undo by setting this property to 0, ie., UndoLimit="0"

    
    

提交回复
热议问题