tag:blogger.com,1999:blog-2359578464804578723.post1700034873363869912..comments2024-03-28T03:45:23.992+01:00Comments on chriga's blog: WPF TreeView with Multiple SelectionUnknownnoreply@blogger.comBlogger10125tag:blogger.com,1999:blog-2359578464804578723.post-7908378325208740232021-12-29T16:11:54.807+01:002021-12-29T16:11:54.807+01:00Thanks a lot. Its wonderful code which executes wi...Thanks a lot. Its wonderful code which executes without any issue and save lot of time.You Made it look easy.Vineethttps://www.blogger.com/profile/07055261028447228636noreply@blogger.comtag:blogger.com,1999:blog-2359578464804578723.post-78258255954812831272021-09-13T16:54:19.607+02:002021-09-13T16:54:19.607+02:00how can we delete all the nodes we select with tha...how can we delete all the nodes we select with that functionality ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2359578464804578723.post-84868577746820851912018-10-08T00:58:12.490+02:002018-10-08T00:58:12.490+02:00a modified version can be found here https://githu...a modified version can be found here https://github.com/dtaylor-530/FileExplorerAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2359578464804578723.post-17090370600098266942018-07-23T22:54:01.127+02:002018-07-23T22:54:01.127+02:00This was critical for me.
Along with making sure ...This was critical for me. <br />Along with making sure the binding-mode is twoway <br />and the field is not null when it passed to the control <br />(i.e its initialised to begin with e.g private List selectedItems = new List(); if not using an auto property)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2359578464804578723.post-48517897505514566612018-05-13T15:59:50.399+02:002018-05-13T15:59:50.399+02:00thanks for your nice article.
Just a minor issue :...thanks for your nice article.<br />Just a minor issue : At the end of method "OnIsItemSelectedPropertyChanged" the following line should be added:<br />SetSelectedItems(treeView, selectedItems);<br />without it the setter accessor of SelectedItems property in TreeView never will be called.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2359578464804578723.post-10602090605507294352018-03-13T13:38:50.130+01:002018-03-13T13:38:50.130+01:00I am getting an error while writing the code in XA...I am getting an error while writing the code in XAML.<br />ERROR: "The name 'TreeViewMultipleSelectionAttached' does not exist in the namespace 'clr-namespace:MultipleSelectionTreeView'.Anonymoushttps://www.blogger.com/profile/04349886960384648689noreply@blogger.comtag:blogger.com,1999:blog-2359578464804578723.post-50150152299041283462015-07-16T10:01:53.342+02:002015-07-16T10:01:53.342+02:00Detailed explanation and a nice solution for a pro...Detailed explanation and a nice solution for a problem that should not exist - thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2359578464804578723.post-5051641241154938352015-07-10T14:49:29.014+02:002015-07-10T14:49:29.014+02:00Hi.
Thanks for sharing :)
I have been looking for ...Hi.<br />Thanks for sharing :)<br />I have been looking for a good solution for selecting multiple nodes in a TreeView for a while now, and this is the best solution I have found. I have created a GitHub repo based on this solution where I have improved the selection functionality so that it works well with keyboard:<br /><br />https://github.com/cmyksvoll/MultiSelectTreeViewAnonymoushttps://www.blogger.com/profile/04600240910380365502noreply@blogger.comtag:blogger.com,1999:blog-2359578464804578723.post-33019071847406399412015-06-24T00:14:07.200+02:002015-06-24T00:14:07.200+02:00Thanks for the hint.Thanks for the hint.chrigahttps://www.blogger.com/profile/13156716558038865591noreply@blogger.comtag:blogger.com,1999:blog-2359578464804578723.post-6001698096892834872015-04-24T10:55:56.425+02:002015-04-24T10:55:56.425+02:00One of the easiest yet working solutions I've ...One of the easiest yet working solutions I've found for multi-select, thank you.<br />I had a side-effect when original "IsSelected" property of TreeViewItem "painted" the last clicked item as "selected". Setting "IsSelected" to false inside SetIsSelected() helped.Anonymousnoreply@blogger.com