镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on May 7, 2022. It is now read-only.
This repository was archived by the owner on May 7, 2022. It is now read-only.

Virtualization not working as intended #55

Open

Description

@nielwestover

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>

Activity

  1. ygoe commented on Jan 23, 2021

    @ygoe
    Owner

    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.

  2. nielwestover commented on Jan 24, 2021

    @nielwestover
    Author

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions