{"id":16713127,"url":"https://github.com/picrap/virtualtreeview","last_synced_at":"2025-03-21T20:33:28.641Z","repository":{"id":90836837,"uuid":"71790355","full_name":"picrap/VirtualTreeView","owner":"picrap","description":"A WPF TreeView that actually supports virtualization.","archived":false,"fork":false,"pushed_at":"2024-07-26T16:05:27.000Z","size":4047,"stargazers_count":18,"open_issues_count":5,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T04:52:10.692Z","etag":null,"topics":["treeview","virtual","wpf"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/picrap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-24T13:11:25.000Z","updated_at":"2024-11-06T17:53:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"4639f03b-aa96-4ed1-94d4-9a64d2dedcf2","html_url":"https://github.com/picrap/VirtualTreeView","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picrap%2FVirtualTreeView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picrap%2FVirtualTreeView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picrap%2FVirtualTreeView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picrap%2FVirtualTreeView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/picrap","download_url":"https://codeload.github.com/picrap/VirtualTreeView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244866337,"owners_count":20523499,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["treeview","virtual","wpf"],"created_at":"2024-10-12T20:45:36.073Z","updated_at":"2025-03-21T20:33:28.620Z","avatar_url":"https://github.com/picrap.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VirtualTreeView\n\nA virtualizing TreeView for .NET Framezork 4.6.2, .NET 6 and .NET 8\n\n## How to use it\n\nIt is available as a [NuGet package](https://www.nuget.org/packages/VirtualTreeView/).  \nThe source code includes a demonstration application, where both modes (content and binding) are showed, side-by-side to traditional `TreeView` control.\n\n### The treeview itself\n\nIt works exactly as the original `TreeView` (with a lot of missing features...):\n\n```xaml\n\u003cvtv:VirtualTreeView ItemsSource=\"{Binding Items}\"\u003e\n    \u003c!-- Item style, if there is only one, can also be set using the ItemStyle property --\u003e\n    \u003cvtv:VirtualTreeView.Resources\u003e\n        \u003c!-- The important stuff here is the ItemsSource --\u003e\n        \u003cHierarchicalDataTemplate ItemsSource=\"{Binding Children}\" \n                                  DataType=\"{x:Type my:ViewModels}\"\u003e\n            \u003cGrid\u003e\n                \u003cTextBlock Text=\"{Binding MyLabel}\"/\u003e\n            \u003c/Grid\u003e\n        \u003c/HierarchicalDataTemplate\u003e\n    \u003c/vtv:VirtualTreeView.Resources\u003e\n    \u003c!-- This is optional if you want to bind the IsExpanded property --\u003e\n    \u003cvtv:VirtualTreeView.ItemContainerStyle\u003e\n        \u003cStyle TargetType=\"{x:Type vtv:VirtualTreeViewItem}\"\u003e\n            \u003cSetter Property=\"IsExpanded\" Value=\"{Binding MyIsExpanded, Mode=TwoWay}\" /\u003e\n        \u003c/Style\u003e\n    \u003c/vtv:VirtualTreeView.ItemContainerStyle\u003e\n\u003c/vtv:VirtualTreeView\u003e\n```\n\n### The treeview item\n\nIf you move from an existing treeView, you'll need to copy/paste your `TreeViewItem` style and adapt it to `vtv:TreeViewItem` (usually no change is required, except removing the hierarchical part, which is generated when the control converts the tree to a list).\n\n### What does work\n\nCurrently it has only the features I needed (which is showing items and let them live); all contributors are welcome. The goal is to have a complete and extensible tree view.  \n* With binding, `INotifyCollectionChanged` fully works, so you can dynamically change content by adding or removing elements at any point of the hierarchy.\n\n### What does not\n\n* With binding, `INotifyPropertyChanged` **does not work at all**, since the binding is partly simulated (because the view items are not generated).\n\n### How to contribute\n\nFork it, update it, and submit your pull requests.  \nAlternatively you can [submit requests](https://github.com/picrap/VirtualTreeView/issues).  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpicrap%2Fvirtualtreeview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpicrap%2Fvirtualtreeview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpicrap%2Fvirtualtreeview/lists"}