Flush;
Flush();
The Flush method clears Undo/Redo stack.
The example of use is given in description of the Enabled property.
See also:
IUndoRedo