Xaml FlowDocument table - how to get the title on each page in a multi-page table?

I have a XAML FlowDocument containing a table with a large number of rows spanning multiple pages, and I am converting this FlowDocument to XPS.

Now I am looking for a way to repeat the table title on each page.

I see two possible approaches:

  • Get a table to automatically print the title on each page.

  • Somehow, according to the program, find out how many rows a page can hold, stop the table there, start a new table with the same contents and title on the next page.

So far, I have not been able to get around both approaches. Maybe someone has an idea how to split the FlowDocument table?

+3
source share

All Articles