Question

I am currently doing a C# WPF application that generates a table that does comparison reports. The table is large with formatted background, foreground, etc.

I tried to use Table within FlowDocument, but the processing was slow, and it is almost impossible to scroll. Is there any way that I can solve this issue?

I have looked at data virtualization, but couldn't find anything that is relevant to Table in FlowDocument. FYI, the FlowDocument is simply made up of a large table with numerous formated rows, and it is formed with the use of XamlReader.Load().

Any suggestions to optimize the performance will be welcomed.

Was it helpful?

Solution

After exploring different alternatives, I have found rewriting the flow document to HTML to be a much better option. It takes a shorter time to load, and there is no issues with scrolling.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top