Gets or sets a value that indicates whether undo support is enabled for the text-editing control.
Assembly: PresentationFramework (in PresentationFramework.dll)
Setting this property to false clears the undo stack. Therefore, if you disable undo and then re-enable it, undo commands still do not work because the undo stack was emptied when you disabled undo.
The following example demonstrates how to use theproperty in Extensible Application Markup Language (XAML).
Available since 3.0