UndoDepth

Applies to

RichTextEdit controls

Description

The UndoDepth property specifies the maximum number of editing changes that the Undo function will undo. Each time you call Undo, one more editing change is restored. The CanUndo function returns false when there are no more changes to undo.

NoteObsolete property This property is ignored. The maximum undo depth is 50. This value cannot be changed at either design time or runtime.