<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How insert Separator in a databound ComboBox</title>
	<atom:link href="http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/</link>
	<description>Jeremy Alles Presentation Foundation: WPF, .Net and modern software development</description>
	<lastBuildDate>Thu, 02 Sep 2010 09:21:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Cannon</title>
		<link>http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/comment-page-1/#comment-1577</link>
		<dc:creator>Cannon</dc:creator>
		<pubDate>Tue, 08 Jun 2010 12:53:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=74#comment-1577</guid>
		<description>The previous suggestion doesn&#039;t work.
The solution http://blog.alner.net/archive/2010/04/25/cancelling-selection-change-in-a-bound-wpf-combo-box.aspx</description>
		<content:encoded><![CDATA[<p>The previous suggestion doesn&#8217;t work.<br />
The solution <a href="http://blog.alner.net/archive/2010/04/25/cancelling-selection-change-in-a-bound-wpf-combo-box.aspx" rel="nofollow">http://blog.alner.net/archive/2010/04/25/cancelling-selection-change-in-a-bound-wpf-combo-box.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cannon</title>
		<link>http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/comment-page-1/#comment-1574</link>
		<dc:creator>Cannon</dc:creator>
		<pubDate>Tue, 08 Jun 2010 11:00:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=74#comment-1574</guid>
		<description>I&#039;ve also added a setter to DataTrigger, to make separators unselectable:

                            
                                
                                    
                                        
                                    
                                
                            
                            
                        </description>
		<content:encoded><![CDATA[<p>I&#8217;ve also added a setter to DataTrigger, to make separators unselectable:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christoph</title>
		<link>http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/comment-page-1/#comment-1166</link>
		<dc:creator>Christoph</dc:creator>
		<pubDate>Sun, 28 Feb 2010 15:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=74#comment-1166</guid>
		<description>Great, works fine!</description>
		<content:encoded><![CDATA[<p>Great, works fine!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thomas</title>
		<link>http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/comment-page-1/#comment-439</link>
		<dc:creator>thomas</dc:creator>
		<pubDate>Fri, 02 Oct 2009 09:38:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=74#comment-439</guid>
		<description>Erratum:
In post #3, should read
&quot;...general-purpose ObservableCollection&lt;object&gt; instead of ObservableCollection&lt;string&gt;...&quot;</description>
		<content:encoded><![CDATA[<p>Erratum:<br />
In post #3, should read<br />
&#8220;&#8230;general-purpose ObservableCollection&lt;object&gt; instead of ObservableCollection&lt;string&gt;&#8230;&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/comment-page-1/#comment-438</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Fri, 02 Oct 2009 09:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=74#comment-438</guid>
		<description>Thomas, you&#039;re right. 

But IMHO I prefer not to have any UI-related stuff in my ViewModel classes :-)</description>
		<content:encoded><![CDATA[<p>Thomas, you&#8217;re right. </p>
<p>But IMHO I prefer not to have any UI-related stuff in my ViewModel classes <img src='http://www.japf.fr/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thomas</title>
		<link>http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/comment-page-1/#comment-437</link>
		<dc:creator>thomas</dc:creator>
		<pubDate>Fri, 02 Oct 2009 09:30:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=74#comment-437</guid>
		<description>If you don&#039;t mind using the more general-purpose ObservableCollection instead of ObservableCollection, then you could simply add a Separator object in the binding source:

DataContext = new ObservableCollection 
{
	&quot;Catergory 1&quot;,
	new Separator(),
	&quot;Catergory 2&quot;,
	&quot;Catergory 3&quot;,
};</description>
		<content:encoded><![CDATA[<p>If you don&#8217;t mind using the more general-purpose ObservableCollection instead of ObservableCollection, then you could simply add a Separator object in the binding source:</p>
<p>DataContext = new ObservableCollection<br />
{<br />
	&#8220;Catergory 1&#8243;,<br />
	new Separator(),<br />
	&#8220;Catergory 2&#8243;,<br />
	&#8220;Catergory 3&#8243;,<br />
};</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomlev</title>
		<link>http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/comment-page-1/#comment-96</link>
		<dc:creator>tomlev</dc:creator>
		<pubDate>Fri, 19 Dec 2008 15:04:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=74#comment-96</guid>
		<description>Bien vu !
On pouvait aussi faire ça avec la propriété ItemTemplateSelector... mais c&#039;est vrai que c&#039;est classe de tout faire en XAML ;)</description>
		<content:encoded><![CDATA[<p>Bien vu !<br />
On pouvait aussi faire ça avec la propriété ItemTemplateSelector&#8230; mais c&#8217;est vrai que c&#8217;est classe de tout faire en XAML <img src='http://www.japf.fr/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aline</title>
		<link>http://www.japf.fr/2008/12/how-insert-separator-in-a-databound-combobox/comment-page-1/#comment-71</link>
		<dc:creator>aline</dc:creator>
		<pubDate>Mon, 08 Dec 2008 13:31:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.japf.fr/?p=74#comment-71</guid>
		<description>Waouh... Tricky :)</description>
		<content:encoded><![CDATA[<p>Waouh&#8230; Tricky <img src='http://www.japf.fr/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
