Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WPF Data virtualizing ListView

In our current WinForms app, we are displaying millions of records in ListView, using virtualization. Rows are loaded from DB as they are requested. This works well, with good performance.

This is a showstopper for migrating to WPF for us. We need data virtualization in a ListView, like WinForms 2.0 has.

Do you know a decent third-party control, or a relatively easy way of doing it with built-in controls? It doesn't need to be a DataGrid, a simple ListView will suffice.

Note, I'm note talking about UI virtualization, it's data virtualization.

like image 844
Robert Jeppesen Avatar asked Jun 11 '09 13:06

Robert Jeppesen


3 Answers

The article WPF Data Virtualization should be exactly what you are looking for, I just implemented it quite easily, and it works.

like image 193
Martin Konicek Avatar answered Nov 13 '22 23:11

Martin Konicek


Xceed DataGrid for WPF has data virtualization support.

like image 40
Samuel Jack Avatar answered Nov 13 '22 22:11

Samuel Jack


This is the description for the Ultimate ListBox for WPF from Xceed:

Intelligent virtualized background data retrieval:

Automatic data retrieval only gets records from the remote data source if they are visible (data virtualization). This greatly reduces the amount of data to be transferred, which increases the perceived speed of the listbox. Also reduces strain on the server.

like image 1
Dahdahm Avatar answered Nov 13 '22 22:11

Dahdahm