質問

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.

役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top