Skip to content
This repository has been archived by the owner on May 7, 2022. It is now read-only.

Virtualization not working as intended #55

Open
nielwestover opened this issue Jan 21, 2021 · 2 comments
Open

Virtualization not working as intended #55

nielwestover opened this issue Jan 21, 2021 · 2 comments

Comments

@nielwestover
Copy link

Virtualization should work as simply as this, but it does not. Replace MultiSelectTreeView with TreeView in the code below and virtualization works seamlessly. What would it take to make this work? Thanks!

<Controls:MultiSelectTreeView
	x:Name="_treeView"
	Grid.Row="2"
	ItemsSource="{Binding VariableTree.Nodes}"
	VirtualizingStackPanel.IsVirtualizing="True">
	<Controls:MultiSelectTreeView.ItemsPanel>
		<ItemsPanelTemplate>
			<VirtualizingStackPanel />
		</ItemsPanelTemplate>
	</Controls:MultiSelectTreeView.ItemsPanel>
</Controls:MultiSelectTreeView>
@ygoe
Copy link
Owner

ygoe commented Jan 23, 2021

Virtualisation is a biest. And certainly anything but simple. (I did that in another project.) It's probably not possible with the current design of this. I replaced it with something else in a big application because of this. MultiSelectTreeView is not a TreeView, it's built from scratch. And I just based upon another project's work and haven't worked on this in a very long time. So don't expect a solution here.

@nielwestover
Copy link
Author

nielwestover commented Jan 24, 2021

Thanks for taking the time to reply. I figured it was probably more trouble than it's worth. Also, I understand this project is not currently being worked on, but I put the issue here for others if they feel so inclined (worked before).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants