<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-6821635495514343859.post4066167901518336808..comments</id><updated>2012-01-16T07:01:20.312-08:00</updated><category term='design pattern'/><category term='Twitter'/><category term='enterprise library'/><category term='WCF'/><category term='TreeView'/><category term='MSMQ'/><category term='UI'/><category term='productivity'/><category term='Genuilder'/><category term='caching'/><category term='WPF'/><category term='Data mining'/><category term='mtree'/><category term='Silverlight'/><title type='text'>Comments on Coding Tavern: Multi Selection TreeView in WPF, the easy way...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.codingtavern.com/feeds/4066167901518336808/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6821635495514343859/4066167901518336808/comments/default'/><link rel='alternate' type='text/html' href='http://www.codingtavern.com/2010/01/multi-selection-treeview-in-wpf-easy.html'/><author><name>Nicolas Dorier</name><uri>http://www.blogger.com/profile/07520502469712388579</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/-z5jbjeDqj-0/Tl5ieEEBbGI/AAAAAAAAAGQ/ZcSPjz3xzAc/s220/nico.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6821635495514343859.post-8361306710771833365</id><published>2012-01-16T07:01:20.312-08:00</published><updated>2012-01-16T07:01:20.312-08:00</updated><title type='text'>Hi,

The reason I’m writing this email is to see i...</title><content type='html'>Hi,&lt;br /&gt;&lt;br /&gt;The reason I’m writing this email is to see if we can get a license for the &amp;quot;Multi Selection TreeView in WPF&amp;quot; since we couldn’t find any license published by you.&lt;br /&gt;We would like to use the software in one of our commercial product.&lt;br /&gt;&lt;br /&gt;If you have any commercial license or willing to confirm to us that this can be distributed under different license (preferably BSD) – it would be much appreciated.&lt;br /&gt; &lt;br /&gt;Thank you</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6821635495514343859/4066167901518336808/comments/default/8361306710771833365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6821635495514343859/4066167901518336808/comments/default/8361306710771833365'/><link rel='alternate' type='text/html' href='http://www.codingtavern.com/2010/01/multi-selection-treeview-in-wpf-easy.html?showComment=1326726080312#c8361306710771833365' title=''/><author><name>Xaml Boy</name><uri>http://www.blogger.com/profile/12601198488058965643</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.codingtavern.com/2010/01/multi-selection-treeview-in-wpf-easy.html' ref='tag:blogger.com,1999:blog-6821635495514343859.post-4066167901518336808' source='http://www.blogger.com/feeds/6821635495514343859/posts/default/4066167901518336808' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-66052213'/></entry><entry><id>tag:blogger.com,1999:blog-6821635495514343859.post-3661924141062578920</id><published>2011-03-30T03:48:04.758-07:00</published><updated>2011-03-30T03:48:04.758-07:00</updated><title type='text'>https://connect.microsoft.com/WPF/feedback/details...</title><content type='html'>https://connect.microsoft.com/WPF/feedback/details/654579/treeview-multiselect-and-two-way-binding-out-of-the-box</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6821635495514343859/4066167901518336808/comments/default/3661924141062578920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6821635495514343859/4066167901518336808/comments/default/3661924141062578920'/><link rel='alternate' type='text/html' href='http://www.codingtavern.com/2010/01/multi-selection-treeview-in-wpf-easy.html?showComment=1301482084758#c3661924141062578920' title=''/><author><name>Malone</name><uri>http://www.blogger.com/profile/17466309111594710096</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.codingtavern.com/2010/01/multi-selection-treeview-in-wpf-easy.html' ref='tag:blogger.com,1999:blog-6821635495514343859.post-4066167901518336808' source='http://www.blogger.com/feeds/6821635495514343859/posts/default/4066167901518336808' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-453516042'/></entry><entry><id>tag:blogger.com,1999:blog-6821635495514343859.post-1110538456285695500</id><published>2011-03-30T03:46:10.277-07:00</published><updated>2011-03-30T03:46:10.277-07:00</updated><title type='text'></title><content type='html'>Ce commentaire a été supprimé par l'auteur.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6821635495514343859/4066167901518336808/comments/default/1110538456285695500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6821635495514343859/4066167901518336808/comments/default/1110538456285695500'/><author><name>Malone</name><uri>http://www.blogger.com/profile/17466309111594710096</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.codingtavern.com/2010/01/multi-selection-treeview-in-wpf-easy.html' ref='tag:blogger.com,1999:blog-6821635495514343859.post-4066167901518336808' source='http://www.blogger.com/feeds/6821635495514343859/posts/default/4066167901518336808' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.contentRemoved' value='true'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-453516042'/></entry><entry><id>tag:blogger.com,1999:blog-6821635495514343859.post-5438986932988444865</id><published>2010-11-23T13:08:43.566-08:00</published><updated>2010-11-23T13:08:43.566-08:00</updated><title type='text'>If I try to change the background on a item by mod...</title><content type='html'>If I try to change the background on a item by modifying the style, when a parent is selected, visually all of the children are selected too. How do I fix this?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6821635495514343859/4066167901518336808/comments/default/5438986932988444865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6821635495514343859/4066167901518336808/comments/default/5438986932988444865'/><link rel='alternate' type='text/html' href='http://www.codingtavern.com/2010/01/multi-selection-treeview-in-wpf-easy.html?showComment=1290546523566#c5438986932988444865' title=''/><author><name>David</name><uri>http://www.blogger.com/profile/11395208346862110193</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.codingtavern.com/2010/01/multi-selection-treeview-in-wpf-easy.html' ref='tag:blogger.com,1999:blog-6821635495514343859.post-4066167901518336808' source='http://www.blogger.com/feeds/6821635495514343859/posts/default/4066167901518336808' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1538878382'/></entry><entry><id>tag:blogger.com,1999:blog-6821635495514343859.post-2735041540369666251</id><published>2010-10-14T15:11:05.326-07:00</published><updated>2010-10-14T15:11:05.326-07:00</updated><title type='text'>Lets have a look also here: http://dotnetlearning....</title><content type='html'>Lets have a look also here: http://dotnetlearning.wordpress.com/2010/10/14/multi-selection-tree-view/</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6821635495514343859/4066167901518336808/comments/default/2735041540369666251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6821635495514343859/4066167901518336808/comments/default/2735041540369666251'/><link rel='alternate' type='text/html' href='http://www.codingtavern.com/2010/01/multi-selection-treeview-in-wpf-easy.html?showComment=1287094265326#c2735041540369666251' title=''/><author><name>dotnetlearning</name><uri>http://dotnetlearning.wordpress.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.codingtavern.com/2010/01/multi-selection-treeview-in-wpf-easy.html' ref='tag:blogger.com,1999:blog-6821635495514343859.post-4066167901518336808' source='http://www.blogger.com/feeds/6821635495514343859/posts/default/4066167901518336808' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-149909686'/></entry><entry><id>tag:blogger.com,1999:blog-6821635495514343859.post-3525197081512227542</id><published>2010-05-04T00:46:31.864-07:00</published><updated>2010-05-04T00:46:31.864-07:00</updated><title type='text'>Hi Nicolas,

Nice approach. But the selectedItems ...</title><content type='html'>Hi Nicolas,&lt;br /&gt;&lt;br /&gt;Nice approach. But the selectedItems are not in sync when a drop has occured.&lt;br /&gt;&lt;br /&gt;This is a workaround. It works, but isn&amp;#39;t perfect (as the reset isn&amp;#39;t performed inmediately but with the first next selection).&lt;br /&gt;&lt;br /&gt;1. Add the following code to EnableMultiSelectChanged:&lt;br /&gt;tree.AddHandler(TreeView.PreviewDropEvent, new DragEventHandler(PreviewDrop)); (also a RemoveHandler)&lt;br /&gt;&lt;br /&gt;2. Add the following code to the class:&lt;br /&gt;private static bool possibleDropOccurred = false;&lt;br /&gt;        static void PreviewDrop(object sender, DragEventArgs e)&lt;br /&gt;        {&lt;br /&gt;            // Reset the SelectedItems when a drop takes place&lt;br /&gt;            possibleDropOccurred = true;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;3. Change RealSelectedChanged:&lt;br /&gt;{&lt;br /&gt;            TreeViewItem item = (TreeViewItem)sender;&lt;br /&gt;            var selectedItems = GetSelectedItems(GetTree(item));&lt;br /&gt;            if (selectedItems != null)&lt;br /&gt;            {&lt;br /&gt;                if (possibleDropOccurred)&lt;br /&gt;                {&lt;br /&gt;                    selectedItems.Clear();&lt;br /&gt;                    possibleDropOccurred = false;&lt;br /&gt;                }&lt;br /&gt;                var isSelected = GetIsSelected(item);&lt;br /&gt;                .....    &lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;Frank</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6821635495514343859/4066167901518336808/comments/default/3525197081512227542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6821635495514343859/4066167901518336808/comments/default/3525197081512227542'/><link rel='alternate' type='text/html' href='http://www.codingtavern.com/2010/01/multi-selection-treeview-in-wpf-easy.html?showComment=1272959191864#c3525197081512227542' title=''/><author><name>frank</name><uri>http://www.blogger.com/profile/07901313983382041395</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.codingtavern.com/2010/01/multi-selection-treeview-in-wpf-easy.html' ref='tag:blogger.com,1999:blog-6821635495514343859.post-4066167901518336808' source='http://www.blogger.com/feeds/6821635495514343859/posts/default/4066167901518336808' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1941851504'/></entry></feed>
