Clear Method Clear() Clears saved actions (both undo and redo stack). Declaration public void Clear()