Using MigraDoc only (no PDFsharp), I have a number of tables that break across pages. These tables have an outer border, and when the pages break, the borders continue on the next page. These are desired behaviors.
Additionally, I need to add a border to the bottom of the last row of a table on a page, and to the top of a row of a table at the start of the next page, where the table is split. Ideally, I would like to detect if a row will be the last on a page before breaking and address it then.
My question is, do any MigraDoc developers out there know of a way to detect if an element (including table rows) will be the last element of an existing page?