When trying to display a DataTable from the DataSet using ListView/GridView (GridView is generated dynamically and has the same columns as the DataTable) the application is really very slow. DataTable has more than 15 columns and about 15000 rows.

I made similar application using WinForms and it is much more faster. WPF promises better performance but it seems to be different.

I have tried to define GridColumnDefinitions in XAML instead of doing it at runtime but it did not help. Use of VirtualizingStackPanel.IsVirtualizing="True" hangs the application.

How can I fix this issue Thanks in advance.

Re: Windows Presentation Foundation (WPF) Bound data displaying performance issue


UI Virtualization generally solves this "issue"... According to what you say, the application "hangs" whenever you turn it on...

I`d be interested in seeing you markup/code to see if something isn`t "awkward" (causing the hangup)...