This project has moved and is read-only. For the latest updates, please go here.

GetListItemType extremely slow


I have a huge document with lots of lists. Exporting it took forever, so I profiled it and found > 90% of the time was used by Container.GetListItemType(), specifically .Descendants().

I had to disable ListItemType for my application, but maybe it's possible to optimize the function?


BoucherS wrote Apr 25, 2017 at 8:08 PM


Xceed has this in the commercial version 1.2 (coming out soon, here: Since CodePlex is shutting down, this bug fix will eventually make its way to GitHub in DocX community edition. It will be one at least a version behind the commercial version, though. We are working on the move in May.