1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-09-17 14:54:50 +00:00
6502bench/SourceGenWPF/ProjWin
Andy McFadden f3f4c44633 Refactor DisplayList to support data virtualization
In WinForms, if you want a virtual ListView, you set the "virtual"
property and define a couple of callbacks.  In WPF, there are
separate notions of "UI virtualization" and "data virtualization".
The former is done automatically (usually) by the ListView.  The
latter requires creating an implementation of IList, and relies on
behavior that I'm having trouble finding in official documentation.
Yay WPF.

This splits the source-generation stuff out into DisplayListGen,
leaving DisplayList as a list of stuff to display that can be bound
to WPF as a ListView ItemsSource.  The DisplayList instance will have
a hook back into DisplayListGen to perform the on-demand string
rendering.  (For now it's just generating test patterns.)
2019-05-11 10:16:54 -07:00
..
DataFileLoadIssue.xaml Port project loader code 2019-05-05 16:50:28 -07:00
DataFileLoadIssue.xaml.cs Port project loader code 2019-05-05 16:50:28 -07:00
DiscardChanges.xaml Port project loader code 2019-05-05 16:50:28 -07:00
DiscardChanges.xaml.cs Port project loader code 2019-05-05 16:50:28 -07:00
MainWindow.xaml Refactor DisplayList to support data virtualization 2019-05-11 10:16:54 -07:00
MainWindow.xaml.cs Refactor DisplayList to support data virtualization 2019-05-11 10:16:54 -07:00
ProjectLoadIssue.xaml Port project loader code 2019-05-05 16:50:28 -07:00
ProjectLoadIssue.xaml.cs Port project loader code 2019-05-05 16:50:28 -07:00