Skip to content

Data virtualization #18811

Answered by stevemonaco
bencyoung asked this question in Q&A
May 7, 2025 · 3 comments · 4 replies
Discussion options

You must be logged in to vote

You can check out ModelFlow for ideas: https://github.com/ModelFlow-NET/ModelFlow

The demo uses TreeDataGrid, ListBox, and ComboBox though there aren't any docs.

https://github.com/wieslawsoltes/DataBox is a bit more focused use case, especially with its VirtualPanel.ItemHeight which can really speed up accurate layout for cases where every row is the same fixed height.

But in general if you aren't using libraries, yes. You'll need to create a collection type that is virtualized. You won't be able to use ObservableCollection in any direct way, but you might be able to use placeholder factories if your total size isn't in the tens of millions. They can't be lazy on indexing though because …

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@bencyoung
Comment options

@Philltorian
Comment options

Comment options

You must be logged in to vote
2 replies
@bencyoung
Comment options

@bencyoung
Comment options

Answer selected by bencyoung
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants