/// <summary> /// Undo the current command of the context. /// </summary> /// <param name="pCommand">The command to execute.</param> protected virtual void CustomUndo(IUserCommand pCommand) { // Undo the command. pCommand.Undo(); }