static void undoButton_Clicked(object sender, EventArgs e) { host.RootDocument.DoCommand (EditorCommand.Undo); }